これは私にとってはうまくいきます。ビデオ プレーヤーの完了ボタンが押されたときに偽の URL を読み込みます。例えば
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(moviePlaybackComplete:)
name:MPMoviePlayerPlaybackDidFinishNotification
object:yourViewController];
実装する
- (void)moviePlaybackComplete:(NSNotification *)notification
{
self.playerViewController=[self.playerViewController initWithContentURL:[NSURL URLWithString:@"dummyUrl"]];
[self.playerViewController.moviePlayer stop];
MPMoviePlayerViewController *moviePlayerController = [notification object];
[[NSNotificationCenter defaultCenter] removeObserver:self
name:MPMoviePlayerPlaybackDidFinishNotification
object:moviePlayerController];
}
これはうまくいきます。ありがとう