- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
if ([NSStringFromClass([[[window subviews]lastObject] class]) isEqualToString:@"UITransitionView"]) {
return UIInterfaceOrientationMaskAll;
//优酷 土豆 乐视 已经测试可以
}
return UIInterfaceOrientationMaskPortrait;
}
让播放视频的 时候能够全屏......
ios 只让播放视频的 时候能够全屏横屏 其他全部非全屏非横屏 目前已经测试很多 可以
最新推荐文章于 2022-04-22 10:28:25 发布