更新到Xcode 7.0.1和Project现在有问题 [英] Updated to Xcode 7.0.1 and Project now has problems
问题描述
所以我将我的Xcode 6.1版本上传到iTunes Connect,该应用程序获得批准。现在我正在尝试更新应用程序并更新到Xcode 7.0.1并且Xcode给我提出了问题:
So I uploaded my Xcode 6.1 build to iTunes Connect and the app was approved. Now i'm trying to update the app and I updated to Xcode 7.0.1 and Xcode is giving me problems stating:
(对于应用程序我使用了故事板和Objective-C )
(For app I used storyboards and Objective-C)
警告:除非应用需要全屏,否则必须支持所有界面方向。
warning: All interface orientations must be supported unless the app requires full screen.
警告:启动必须提供storyboard或xib,除非应用需要全屏。
warning: A launch storyboard or xib must be provided unless the app requires full screen.
- (NSUInteger)supportedInterfaceOrientations {
return (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown);
}
iOS 9支持的新界面是什么?
What's the new supported interface orientation for iOS 9?
推荐答案
如果您的应用支持多任务,您需要支持所有方向(纵向向上,纵向向下,向左风景,向右风景)和启动屏幕xib / storyboard。
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.
如果您不感兴趣,可以通过在<$中指定 UIRequiresFullScreen
键来选择退出c $ c> info.plist 并将布尔值设置为 YES
。 (有关此选项的更多信息,请阅读此答案)
If you are not interested, you can opt-out by specifying UIRequiresFullScreen
key in your info.plist
and setting the boolean value to YES
. (Read this answer for more about this option)
这篇关于更新到Xcode 7.0.1和Project现在有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!