カスタム MPMoviePlayer を作成しています。
全画面管理の場合、 は次のようにMPMoviePlayerController動作します。
- (void)setFullscreen:(BOOL)fullscreen animated:(BOOL)animated;
同じことをしたいのですが、UIViewController全体にUIView. ただし、を使用するUIViewController場合、方向は管理されません
私の現在のコード:
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
[[appDelegate window] addSubview:myViewController.view];
を使用して向きを管理したいと思いUIViewControllerます。
助けてくれてありがとう