1

I've added splash screen images both to the project folder and to images.xcassets file, however only iPhone 4s (with ios7) shows the splash screen, the others (with ios8) show default launch screen or don't show anything if launchscreen.xib is deleted.

what can cause it for iPhones >= 5 ? the files' names are : Default@2x.png, Default-568h@2x.png, Default-667h@2x.png, Default-Portrait-736h@3x.png

Anton
  • 155
  • 13

1 Answers1

0

You need to add a LaunchImage.xib (via "New > File > User Interface > Launch Screen") and pick this file within the "generals" tab of your target.

Rene Kann
  • 319
  • 1
  • 5
  • this will show the launchscreen, by the default it contains project name and some other information, however I need the app to show Default image instead – Anton Oct 29 '14 at 09:03
  • You can add the image as an UIImageView to the LaunchImage.xib - as far as i know this is the preferred way and suggested by apple. please see here https://developer.apple.com/library/ios/documentation/userexperience/conceptual/MobileHIG/LaunchImages.html – Rene Kann Oct 29 '14 at 10:00
  • UIImageView doesn't see LaunchImage set from xcassets so it can't distinguish different images for different iPhone sizes – Anton Oct 29 '14 at 18:11
  • Perhaps this will help you (and me to, because I am suffering with this problem too ;) ) http://stackoverflow.com/questions/19107543/xcode-5-asset-catalog-how-to-reference-the-launchimage – Rene Kann Oct 30 '14 at 14:02