#import "AppDelegate.h"
/**
* 手机在播放视频的时候允许横屏显示
*/
if ([NSStringFromClass([[[windowsubviews]lastObject]class]) isEqualToString:@"UITransitionView"]) {
returnUIInterfaceOrientationMaskAll;
}
returnUIInterfaceOrientationMaskPortrait;
}
#import "AppDelegate.h"
/**
* 手机在播放视频的时候允许横屏显示
*/
if ([NSStringFromClass([[[windowsubviews]lastObject]class]) isEqualToString:@"UITransitionView"]) {
returnUIInterfaceOrientationMaskAll;
}
returnUIInterfaceOrientationMaskPortrait;
}