简体   繁体   English

更新到Xcode 7.0.1和Project现在有问题

[英]Updated to Xcode 7.0.1 and Project now has problems

So I uploaded my Xcode 6.1 build to iTunes Connect and the app was approved. 所以我将我的Xcode 6.1版本上传到iTunes Connect,该应用程序获得批准。 Now i'm trying to update the app and I updated to Xcode 7.0.1 and Xcode is giving me problems stating: 现在我正在尝试更新应用程序,我更新到Xcode 7.0.1,Xcode给我提出问题:

(For app I used storyboards and Objective-C) (对于app我使用了故事板和Objective-C)

warning: All interface orientations must be supported unless the app requires full screen. 警告:除非应用程序需要全屏,否则必须支持所有界面方向。

warning: A launch storyboard or xib must be provided unless the app requires full screen. 警告:除非应用程序需要全屏,否则必须提供启动故事板或xib。

- (NSUInteger)supportedInterfaceOrientations {

return (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown);
}

What's the new supported interface orientation for iOS 9? iOS 9支持的新界面是什么?

If your app supports multi tasking you need to support all orientations (Portrait up, Portrait Down, Landscape Left, Landscape Right) and a also Launch Screen xib/storyboard. 如果您的应用支持多任​​务,您需要支持所有方向(纵向向上,纵向向下,向左风景,向右风景)和启动屏幕xib /故事板。

If you are not interested, you can opt-out by specifying UIRequiresFullScreen key in your info.plist and setting the boolean value to YES . 如果您不感兴趣,可以通过在info.plist指定UIRequiresFullScreen键并将布尔值设置为YES来选择退出。 (Read this answer for more about this option) (阅读此答案以了解有关此选项的更多信息)

转到目标 - >常规,部署信息并检查所有设备方向,警告将消失,例如,对于仅限iPad的应用程序,您必须勾选所有方向,在视图控制器中,您可以覆盖方向。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM