Search code examples
iosappceleratorappcelerator-titaniumlaunch-screen

SDK 5.2.0 - LaunchLogo.png doesn't work


Trying to get the LaunchLogo.png to work, following this

My tiapp.xml:

<use-app-thinning>true</use-app-thinning>
<enable-launch-screen-storyboard>true</enable-launch-screen-storyboard>

In app/assets/iphone I have all five LaunchLogo*.png.

In the project root I have a DefaultIcon.png.

According to the docs, it will use LaunchLogo*.png instead of DefaultIcon.png for the launch screen. However, a clean build and install on the iPad device gives me DefaultIcon.png on the launch screen.

Can't get it to work. Any idea? Thanks.


Solution

  • Oh, on the bottom of the release note:

    iOS Launch Logo Caching Issue

    Launch logo updates are not reflected when rebuilding the app. iOS caches launch screens to a PNG file that appears to only be invalidated by restarting the iOS. The following changes have no effect: uninstalling the app, cleaning the Titanium app and rebuilding, and removing the cached image from the hard drive. Upon installing the updated app, it writes a new PNG file to cache of the old launch screen. It appears iOS keeps the cached launch screen in memory despite the app is not running. The only way to show the updated launch logo is to restart the simulator and/or device. Users should see a warning about this issue.