I\'m having some trouble getting my launch image to show up in my application.
I have created all the static image files in the Images.xcassets file in an asset set
Close the simulator & open it again worked for me
I've just spent a little while on the same problem, but found the answer, and put it into a Youtube Tutorial
- Create your ArtWork Image. 1024x1024 that conforms to Apple's requirements for Appicons and LaunchImages
- Set up a folder to hold your newly created Assets.xcassets
- Open Asset Creator Pro and drag your new image into it.
- Do your app icons first, putting the created file into your new folder.
- Using the SAME image, select LaunchImages next, and "Append" the created set into the new, existing Assets.xcassets
- Open your XCode project, and delete the eisting - probably empty - Assets.xcassets folder. If you have other files in it, then just delete the Appicons and Launchimages sets.
- Drag your newly created Assets into the XCode project, making sure you set the option to Copy the files. Sometimes this can be off! beware.
- check what's in the cassets, you should see your new images.
- Make sure the line Launch Screen File in your Project settings is BLANK.
- Make sure your LaunchScreen storyboard is BLANK. Anything in there and the images wont load.
test it.
Watch the video.
should be empty ! Launch Screen File
it worked for me
Working solution. Saved my time and hope it will save yours as well.
Clean and build.
Recommended solution step by step:
I finally figured it out!
So, in your project settings, go to the section that says: App Icons and Launch Images
Remove the information found in Launch Screen File
if you do not want to use .xib file.
Then, in Launch Image Source
, Choose to migrate and if you have already created your LaunchImage file and added the images to it. Then click the asset catalog that shows up. The name of the one that contains your Launch Images.
This will create a new Launch-Image2 in your image set. To use the one you already have created, click the drop-down menu next to Launch Image Source. And you should see your other Launch Image set. Choose it. Then re-build your application and run it. You should see your Launch Image. =)
Hope this helps!
Note: it won't delete your images that you already have in the asset catalog. It will just create a new LaunchImage asset set.
Reference: https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/chapters/StoringAppIconsandLaunchImagesinanAssetCatalog.html
This is too important !
should be empty ! Launch Screen File