设置ipad竖屏方向

来源:互联网 发布:网络管理监控系统 编辑:程序博客网 时间:2024/04/29 10:59
1、在RootViewController.mm设置屏幕需求方向
- (NSUInteger) supportedInterfaceOrientations{#ifdef __IPHONE_6_0    return UIInterfaceOrientationMaskPortraitUpsideDown;#endif}


2、在info.plist设置参数如下


0 0
原创粉丝点击