Hi folks, a few things to report back here…
Looks like if we just “give” the app a .nib file, specify an extra key in build.settings, iOS8 launching will work !
Here’s what I did and have it to work only in XCode Simulator , I got no actual iPhone6 devices to test this out, and ran out of time to plug in + test out my other physical devices.
-
I created a LaunchScreen out of a fresh XCode 6 project. Build the project, find the .app file, locate the LaunchScreen.nib file and extracted it out of the .app bundle.
-
In build.settings, add an extra key to the plist (no .nib extension): UILaunchStoryboardName = "LaunchScreen"
-
Place the LaunchScreen.nib file into a Corona project , build it (I built for XCode Simulator)
-
Refer to this thread for placing the Corona-built app into your XCode 6 simulators. http://forums.coronalabs.com/topic/51430-build-2393a-ios8-iphone-66-launch-images-solved-w-xcode-6-ios-simulator-screenshots/
-
Launch the app in simulator; you will see when if running under iOS 8 environment, the LaunchScreen.nib file will be used. (see White screenshot)
-
If running in iOS 7, standard launch images will be pulled (see black screenshot)
-
Annoyingly, XCode simulator basically just takes a screen-cap out of your launch screen package, and draws itself a png file and store it in the cache folder (wtf)
Your app in Simulator:
data/Containers/Bundle/Applications/XXXXX-XXXX-XXXX-XXXXX/YOUR_APP.app
Launch Image cache:
data/Containers/Data/Application/XXXXX-XXXX-XXXX-XXXXX/Library/Caches/LaunchImages/com.bundlename.appname/com.bundlename.appname/LaunchImage-Portrait{375,667}@2x.png
It’s fair to say having 1 launch image bundle is fine, but they (Apple) should still classify other apps as iPhone6/6+ compatible if devs are supplying compatible static launch images anyways…
Anyways, it’s not the end of the world yet, we can still squeeze in this content manually in our projects and at least triggering the LaunchScreen.nib file, which hopefully App Store will accept it and classify it as “iPhone 6 / iPhone 6 Plus Compatible”
I’m launching my app in a week’s time so I’ll report back using this method, see what happens.
Happy Friday!