iOS 9 Splash screen is black

andrrs picture andrrs · Sep 17, 2015 · Viewed 47.5k times · Source

My apps' splash screens are all plain black after upgrading to iOS9.

Does anybody know why this is? Some of them are using a .xib splash screen and some are using images, but they're all just black now. Does an app have to be built with Xcode 7 for the splash screen to work in iOS9? Has anyone seen some documentation on whether this is an intended breaking change from Apple?

Thank you!

UPDATE: Looking through the apps again it seems my older apps, which only had a Launch image and no .xib are still displaying correctly, so the issue seems related to the launch screen .xib

UPDATE2: As hagi pointed out in the comment, after re-installing the very same binary it starts working again so the cause is probably that launch images are generated from the xib whenever the app is installed, and stored somewhere, and then when upgrading to iOS9, for some reason (unintended Apple bug most likely), the generated images are cleared, and the app ends up with no splash. And that's why the old-fashioned launch images are still safe and not affected by this, cause they're already baked into the app.

I'll report it as a bug to Apple.

Answer

TokyoToo picture TokyoToo · Nov 28, 2015

Easy fix. No need to mess with anything. Xcode 7 just prefers the images to be "Universal".

  1. Click on Assets.xcassets folder
  2. Click the + sign to Import from Project.
  3. Select all images

Done. Now your launch screen works and Xcode is happier.