iOS 强制竖屏

//强制竖屏
-(UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
    return  UIInterfaceOrientationMaskPortrait;
}

你可能感兴趣的:(iOS 强制竖屏)