1
我需要你的幫助,請問:我怎樣才能刪除這條線?鉛與mpmovieplayercontroller
NSString *AppFolderPath = [[NSBundle mainBundle] resourcePath];
NSString *MoviePath=[NSString stringWithFormat: @"/%@/%@", AppFolderPath,pathVideo];
NSLog(MoviePath);
NSURL *movieURL=[[NSURL fileURLWithPath:MoviePath]retain];
movieController = [[MPMoviePlayerController alloc] initWithContentURL:movieURL];
[self addSubview:movieController.view];
[movieController setMovieControlMode:MPMovieScalingModeAspectFit];
[movieController setShouldAutoplay:YES];
[movieController setFullscreen:YES animated:YES];
這是正確的,應該是被接受並投票決定的解決方案。 – Till