我正在创建我的自定义 MPMoviePlayer。
对于全屏管理,MPMoviePlayerController
行为方式如下:
- (void)setFullscreen:(BOOL)fullscreen animated:(BOOL)animated;
我也想做同样的事情,但要加上UIViewController
一个UIView
. 但是当使用 a 时UIViewController
,方向不受管理
我目前的代码:
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
[[appDelegate window] addSubview:myViewController.view];
我想使用UIViewController
.
谢谢你的帮助