(UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
if ([NSStringFromClass([[[window subviews]lastObject] class]) isEqualToString:@"UITransitionView"]) {
[[UIApplication sharedApplication]setStatusBarHidden:NO];
return UIInterfaceOrientationMaskAll;
//优酷 土豆 乐视 已经测试可以
}
return UIInterfaceOrientationMaskPortrait;
}