简体   繁体   English

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

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

I don't use a storyboard/xib for launch screen and get these errors in Xcode7+. 我没有使用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.

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. 要选择不参与幻灯片放映和拆分视图, 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。

Set Requires full screen to YES in your target. 在目标中将Requires full screen设置为YES

需要全屏

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS 9:警告“必须支持所有界面方向,除非应用程序需要全屏”才能使用通用应用程序 - iOS 9 : Warning “All interface orientations must be supported unless the app requires full screen” for universal app 以编程方式访问启动屏幕 XIB 或故事板 - Programmatically accessing the launch screen XIB or storyboard 使用全屏图像视图启动 Screen .XIB - Launch Screen .XIB with full screen image view 为 AppStore 的新 storyboard 要求更新具有 a.xib 启动屏幕的旧 iOS 应用程序的最简单方法是什么? - What's the easiest way to update an old iOS app with a .xib launch screen for the AppStore's new storyboard requirement? 启动图像或启动xib / storyboard? - Launch image or launch xib / storyboard? 将正确的全屏图像设置为我的启动屏幕xib - Setting the correct full-screen image as my launch screen xib 在iOS Universal app中启动屏幕故事板约束 - Launch screen storyboard constraints in iOS Universal app iOS 13 - 我们可以使用 xib 作为启动故事板的启动屏幕吗? - iOS 13 - Can we use xib as a launch screen over launch storyboard? iOS应用启动屏幕(启动屏幕)是否必须? - Is iOS app Launch Screen (splash screen) a must? 启动画面xib - launch screen xib
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM