摘要:
同样的代码,模拟器下不工作,真机下可以循环播放。MPMoviePlayerController *theMovie = [[MPMoviePlayerControlleralloc] initWithContentURL:[NSURLfileURLWithPath:[[NSBundlemainBundle] pathForResource:@"***"ofType:@"mp4"] ]];theMovie.repeatMode=MPMovieRepeatModeOne;theMovie.view.frame = self.view.bounds;[self 阅读全文