NSNumber *value = [NSNumber numberWithInt:UIInterfaceOrientationLandscapeRight];
[[UIDevice currentDevice] setValue:value forKey:@"orientation"];
转自http://www.jianshu.com/p/d8018006f0b5
NSNumber *value = [NSNumber numberWithInt:UIInterfaceOrientationLandscapeRight];
[[UIDevice currentDevice] setValue:value forKey:@"orientation"];
转自http://www.jianshu.com/p/d8018006f0b5
本文标题:iOS禁止横屏的情况下,播放视频手动横屏处理
本文链接:https://www.haomeiwen.com/subject/mleetxtx.html
网友评论