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

2

69

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.
Stew answered 15/6, 2015 at 12:7 Comment(0)
A
120

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.

Amelia answered 15/6, 2015 at 12:12 Comment(3)
Update answer with reference to WWDC 2015 videoAmelia
I've done this as well, but I'm noticing my Default-x.png images aren't being shown... Anyone else?Handcraft
As explained here you can achieve the same a bit easier by enabling a checkbox under the 'General' tab of your project settings.Kush
R
90

Set Requires full screen to YES in your target.

Requires full screen

Ramie answered 11/9, 2015 at 11:11 Comment(1)
Additional: if you used an empty LaunchImage bundle as part of your Images.xcassets for your Launch Images Source setting the app will only display the default 3.5" screen (for iPhone 4 and older) like before the iOS 7 transition. To avoid this make sure you use at least one (placeholder) image e.g. Default-568h@2x~iphone.pngInchoation

© 2022 - 2024 — McMap. All rights reserved.