除非应用程序需要全屏,否则必须提供启动故事板或xib

Sah*_*oor 68 xcode ios uistoryboard

我没有使用storyboard/xib来启动屏幕并在Xcode7 +中获取这些错误.

- All interface orientations must be supported unless the app requires full screen.

- A launch storyboard or xib must be provided unless the app requires full screen.
Run Code Online (Sandbox Code Playgroud)

Tom*_*min 119

从iOS9和Xcode 7开始,您需要为启动屏幕提供LaunchScreen.storyboard,以支持iPad上的新多任务处理功能.

要选择不参与幻灯片放映和拆分视图,请将UIRequiresFullScreen密钥添加到Xcode项目的Info.plist文件中,并应用布尔值YES.

详细了解Apple的参考资料(查看最后一段)或观看会议205 iOS 9中的多任务处理入门 @ 10:35.

  • 正如[此处](http://stackoverflow.com/questions/31141806/xcode-7-beta-warnings-interface-orientations-and-launch-storyboard)所述,您可以通过启用下方的复选框来轻松实现相同目标.项目设置的"常规"选项卡. (11认同)

Jak*_*lář 86

设置Requires full screenYES目标.

需要全屏

  • 附加:如果你使用空的`LaunchImage`包作为你的启动图像源设置的`Images.xcassets`的一部分,应用程序将只显示默认的3.5英寸屏幕(适用于iPhone 4及更早版本),就像iOS 7过渡之前一样.为避免这种情况,请确保使用至少一个(占位符)图像,例如`Default-568h @ 2x~iphone.png` (6认同)