ios 除非应用程序需要全屏,否则必须提供启动故事板或 xib
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30844803/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
A launch storyboard or xib must be provided unless the app requires full screen
提问by Sahil Kapoor
I don't use a storyboard/xib for launch screen and get these errors in Xcode7+.
我不使用故事板/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.
回答by Tomas Camin
Starting from iOS9 and Xcode 7 you are required to provide a LaunchScreen.storyboard for your launch screen in order to support the new multitasking feature on iPad.
从 iOS9 和 Xcode 7 开始,您需要为启动屏幕提供 LaunchScreen.storyboard 以支持 iPad 上的新多任务处理功能。
To opt out of being eligible to participate in Slide Over and Split View, add the UIRequiresFullScreen
key to your Xcode project's Info.plist file and apply the Boolean value YES.
要选择不参加 Slide Over 和 Split View,请将UIRequiresFullScreen
密钥添加到 Xcode 项目的 Info.plist 文件并应用布尔值 YES。
Find out more on Apple's reference(check last paragraph) or watch session 205 Getting Started with Multitasking on iPad in iOS 9@ 10:35.
了解更多关于 Apple 的参考资料(查看最后一段)或观看会话 205在 iOS 9@ 10:35 的iPad 上开始使用多任务处理。