具有的MPMoviePlayerController的问题,在iOS6的覆盖,之前iOS6的事情是工作的罚款。
看来我可以全屏幕播放电影之前,我有这样的代码:
@interface MovieOverlayViewController : UIViewController
{
UIImageView *skiparrow;
}
@end
@implementation MovieOverlayViewController
-(void) viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
touchtoskip.frame = CGRectMake( xAdjust,
yAdjust,
touchtoskip.image.size.width / scale,
touchtoskip.image.size.height / scale);
[self.view addSubview:touchtoskip];
}
然后:
overlay = [[MovieOverlayViewController alloc] init];
UIWindow *keyWnd = [[UIApplication sharedApplication] keyWindow];
[keyWnd addSubview:overlay.view];
在我MoviePlayerViewController认为确实出现。 并添加UIViews,但我什么也看不到了。
很坚持,有什么建议?