以下を使用して、イントロという名前のビデオを再生しています
- (IBAction)PlayIntro:(id)sender {
NSString *videoPath = [[NSBundle mainBundle] pathForResource:@"intro" ofType:@"m4v"];
introplayer = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath:videoPath]];
[self presentMoviePlayerViewControllerAnimated:introplayer];
}
ビデオの再生が終了すると、次のことが行われるように通知を設定するのに問題が[self performSegueWithIdentifier:@"IntroS" sender:sender];
あります。