Xcode Launch Image Source

2020-08-09 05:56发布

问题:

I have a very silly question, my xcode project doesn't have setting for Launch Image Source , I have already added my splash screen image to Images.xcassets -> LaunchImage , but in my project target General -> App Icon and Launch Images doesn't have setting for Launch Image Source

回答1:

I was facing the same issue which I solved this way:

  • Select your target in the project navigator and find the Build Settings section
  • Search for the Asset Catalog Compiler options
  • Go to the Asset Catalog Launch Image Set Name option and set its value to the name of the iOS launch image you created. If you went with the default name, then this value would simply be LaunchImage.

If the new launch screens do not show, it might help to delete your app and install it again.

Also make sure the Launch Screen File option in your target's General Settings is blank.