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

查看:663
本文介绍了除非应用程序需要全屏,否则必须提供启动故事板或xib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不使用storyboard / xib作为启动画面并在Xcode7 +中获取这些错误。

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.


推荐答案

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

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.

要选择停止参与幻灯片放映和拆分视图,请添加您的Xcode项目的Info.plist文件的 UIRequiresFullScreen 键,并应用布尔值YES。

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.

了解更多信息Apple的参考(查看最后一段)或观看会话205 iOS 9中iPad上的多任务处理入门 @ 10:35。

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.

这篇关于除非应用程序需要全屏,否则必须提供启动故事板或xib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆