A launch storyboard or xib must be provided unless the app requires full screen

冷暖自知 提交于 2019-11-27 09:44:43

问题


I don't use a storyboard/xib for launch screen and get these errors in 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.

回答1:


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.

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.

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.




回答2:


Set Requires full screen to YES in your target.



来源:https://stackoverflow.com/questions/30844803/a-launch-storyboard-or-xib-must-be-provided-unless-the-app-requires-full-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!