MPMoviePlayerController *moviePlayer=[[MPMoviePlayerControlleralloc] initWithContentURL:[NSURLURLWithString:@"http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8"]];
[moviePlayer.viewsetFrame: self.view.bounds]; // player's frame must match parent's
[self.view addSubview: moviePlayer.view];
// moviePlayer.fullscreen = YES;//经测试不起作用
// [moviePlayer setFullscreen:YES animated:YES]; //经测试不起作用
moviePlayer.controlStyle = MPMovieControlStyleFullscreen;//这个才是他妹子的全屏
[moviePlayer play];
一直找他的代码怎么设置一运行就全屏,找了好久 居然在Root.plist里面找到了~~ 真是坑爹啊