iOS launch screen does not update

2020-03-01 09:40发布

I've updated launch screen on an enterprise app, but it won't update when installed on an iPad with the existing app. I've tried completely deleting the app before installing a new version, but it still launches with the old launch screen image.

I've tried installing the new app on another iPad where this app was never installed and the new launch screen appears as expected. Both iPads run the same iOS v9. The app was built with xCode 7.2

In summary I've tried the following scenarios:

  1. updating existing app (version 1) on iPad A - with a new app (version 2) iPad A, loads the new app v2 with launch screen from version 1

  2. installed new app (version 2) on iPad B, which never had this app. iPad B, loads the new app v2 with correct launch screen then I installed old app version 1 on iPad B iPad B, now loads the old app v1 with launch screen from version 2

It seems the iPad somehow caches the launch screen from the very fist install regardless which version it is. Deleting the app and reinstalling does not seem to help and it does not look code related as the correct launch screen images was loaded on iPad B

标签: ios ipad
4条回答
Lonely孤独者°
2楼-- · 2020-03-01 10:09

The answer by Steve still holds as of iOS 13.2.3, but I wanted to add a few more items just to back up this point that otherwise exceed the restrictions of a comment.

For starters, I did delete the app, restart the device, etc but because this issue occurs when a user updates through the app store, those fixes are simply not viable.

Then, I decided to take more drastic actions within the app to try and remedy this. These actions were taken with TestFlight builds.

In my particular case, the problem stems from a version string that misrepresents the installed version.

Step 1 then was to simply remove the UILabel in question. Re-running the app would still cause the label to appear in the app.

Step 2 then was to create an entirely new LaunchScreen storyboard and set it as seen here:

enter image description here

Launching the app still presents the old launch screen.

This leads me to believe that something in the project structure is the source of the caching, and no reasonable changes to the LaunchScreen by the developer are going to get around this.

Update

The app has been released to the Appstore, and using the official store release, the app presents the correct launch screen.

查看更多
▲ chillily
3楼-- · 2020-03-01 10:16

Simulators and iPhone caches the launch images. this can help you 1>Clear the derived data under your developer/xcode folder 2>reset the device by pressing home button and lock button at same time 3>Push your code to device and it will work, if this doesnt work then creat ipa file and install using itunes after resetting the device and it will show the new launch images

查看更多
Viruses.
4楼-- · 2020-03-01 10:17

I just had this problem and i found that deleting the app off the device or simulator, then restarting the device or simulator seems to fix the issue.

I found just restarting the device didn't work.

查看更多
相关推荐>>
5楼-- · 2020-03-01 10:19

I had tried many kinds of solutions and restart your iPhone is the only way.

查看更多
登录 后发表回答