0
我遇到MPMoviePLAYER不顯示視頻只是音頻的問題。 它不適用於iOS 4.0。MPMoviePlayer不能在iPhone 4或iOS 4.0上播放
任何人都可以幫忙嗎?
MPMoviePlayerController *moviePlayer;
NSBundle *bundle = [NSBundle mainBundle];
NSString *moviePath = [bundle pathForResource:@"Video" ofType:@"mp4"];
moviePlayer = [ [ MPMoviePlayerController alloc ]
initWithContentURL: [ NSURL fileURLWithPath: moviePath ] ];
[moviePlayer setFullscreen:YES];
[moviePlayer play];
我也是在控制檯中得到以下信息:「非零客戶端計數AddRunningClient起動裝置」我有這個問題太