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