私はこの非常に奇妙な問題を抱えています。MPMoviePlayerController
次のコードを使用して、View Controller 内に を作成します。
player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"vid96" ofType:@"mov"]]];
player.fullscreen = YES;
player.controlStyle = MPMovieControlStyleFullscreen;
player.view.frame = CGRectMake(0, 0, 320, 480);
[self.view addSubview:player.view];
ユーザーが次/前のボタンをタップすると、MPMoviePlayerController
のビューが消えます。これは の正常な動作MPMoviePlayerController
ですか? これを止める方法はありますか?次へ/前へのボタンは本当に必要ないので、それらを無効にするか非表示にする方法があれば、それも問題ありません。