Launch Image not showing up in iOS application (using Images.xcassets)

后端 未结 13 903
南方客
南方客 2020-11-30 01:20

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

13条回答
  •  死守一世寂寞
    2020-11-30 01:44

    Working solution. Saved my time and hope it will save yours as well.

    • Make sure your images are accurate size according to Apple Guidelines.
    • Make sure, You will select only one option , either launch screen file or Launch Image Source. You can find these two options in Project build settings -> General

    Clean and build.

    Recommended solution step by step:

    1. Create splash image assets (name as LaunchImage) there in Image.assests folder.
    2. Select LaunchImage asset in Launch Image Source option.
    3. And Clear the text in Launch screen File option.
    4. Clean and build.
    5. Below is the reference image for right configuration:

提交回复
热议问题