UISplitViewController and launch storyboard

Greetings,


I have an iOS 8 Swift-based app using a UISplitViewController as its root view controller. My project's deployment setting is iOS 8.0 and I had to use launch images (and not a launch storyboard) because launch storyboards did not support containers such as UINavigationController, UISplitViewController and UITabBarController (this is quoted from a DTS response I got).


In comes iOS 9 with its iPad multitasking feature, which requires using launch storyboards. Things seem to work (on iOS 9) if I specify my main storyboard as a launch storyboard but iOS 8 displays a black screen during launch. Strangely, if I check the "Use as launch screen" checkbox for the main storyboard, the compiler spits out an error ("Launch screens may not have connections"). Using a XIB file (with a UISplitViewController within) as a launch file seems to "kind of" work on both iOS 8 and iOS 9 but I can't seem to be able to modify the UISplitViewController in IB.


This is quite puzzling as there is no way to have the system use launch images for iOS 8 and a launch storyboard for iOS 9. I'm attending WWDC 15 right now and this seemed to stump the engineers at the lab. I can't believe I'm the only one who ran across such an issue, especially with a UISplitViewController, which we're encouraged to use...

I'm sure there's a ton of us in the same boat. You can't even get it looking right when you use a simple navigation controller for your first screen. Also note Apple's apps launch images in iOS 9 don't match what it looks like when the UI actually loads - their nav bar on the launch screen is smaller in height than it needs to be, so they're running into the exact same issues as us I'm sure.

Accepted Answer

Great news! One of the engineers I spoke to at WWDC followed up on this issue and got back to me recently: this is fixed in Xcode 7 beta 4!


I tested it by dropping a stock split view controller into the launch storyboard file. It builds without warnings and works as expected on the iOS 9 simulator and on my iOS 8.4 device.


Cheers!

UISplitViewController and launch storyboard
 
 
Q