Solution to the problem that iOS Launch Screen cannot be used to change the startup Image,

Source: Internet
Author: User

Solution to the problem that iOS Launch Screen cannot be used to change the startup Image,

Solution to the problem that iOS Launch Screen cannot be used to change the startup image. The Launch Screen used in the project is used to set the startup chart. After replacing an image on the basis of the original settings, the startup chart is not updated successfully. I searched for it online for two days and summarized it as follows:

1. After you use Launch Screen to set a startup image, you can change it to images. xcassets to set a new one. The startup page will not be changed.

2. After you use images. xcassets to set the startup image, you can change it to the Launch Screen mode to set a new one. The startup page will be changed. It seems that the Launch Screen has a higher priority.

3. Change the image directly on the Launch Screen. If the change fails (it is an apple bug. If the change is not updated, the system has a cache and the old image is not replaced .), Change the image name.

4. Change the image directly on the Launch Screen. If the change fails, delete the original Screen on the Launch Screen. create a new storyboard, add UIImageView and constraints, and add images. Note: The image name must be changed to a new one.

5. Place the image in the root directory of the file when setting the image. Otherwise, the image cannot be loaded.

The above can be basically solved.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.