我正在尝试在一个视图中运行一个视频,frame (0, 80, 320, 220)
该视图是
self.view
MPMoviePlayerViewController *moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
moviePlayerViewController.view.frame = myview.bounds;
[self presentMoviePlayerViewControllerAnimated:moviePlayerViewController];
moviePlayerViewController.moviePlayer.controlStyle = MPMovieControlStyleFullscreen;
moviePlayerViewController.moviePlayer.shouldAutoplay = YES;
[moviePlayerViewController.moviePlayer prepareToPlay];
moviePlayerViewController.moviePlayer.fullscreen=YES;
...如果我替换为 320 x 480 像素,它myview
工作self.view
正常 吗?