Friday, 30 November 2018

tvOS launch image not visible

I'm creating a tvOS app and struggle for 2 days now with the launch image. It used to correctly show, then since few days ago the launch image no longer show, instead a blur is showing.

I've checked the image and it doesn't use an alpha canal, though in an other tvOS I work on the launch image do uses an alpha canal and it shows (and is accepted when uploaded to the store). The target is correctly set to use the launchImage.

Out of idea, I ended up creating a new singleview tvOS project, and set the valid project's launch image as launchImage. And it stil doesn't work.

For an unknown reason, the launchImage was showing at some point, but I could not reproduce it. I've then tried to clean the build folder multiple times, changing the deployment target between 9 and 12, setting "not launch image" and switch back, deleting the app from simulator or device before building... none worked.

What is going on?

edit: SO, I've downloaded tvOS 11.4 simulator. First try on the 11.4 simulator and the launch Image does show on it. Switching back on tvOS 12 simulator after and the launch image now also shows. I killed the simulator and retried on both versions: no launch image.

I just don't understand what is going on.

edit 2: It looks like I'e found a pattern: The launch Image only shows if the app is launched on the same session during which the app was installed on the simulator, and is not the first time the app is launched since install. In all other cases, not launch image.

Examples: run 1 (simulator launch and app installation) setup: app not installed, simulator not running result: launchImage is not shown

run 2 (app new launch): setup: app already installed, simulator already running result: launchImage is shown

run 3 (app new launch): setup: app already installed, simulator already running result: launchImage is shown

Now I close the simulator.

run 4 (app installation): setup: app already installed, simulator not running result: launchimage is not shown

run 5 (app new launch): setup: app already installed, simulator running result: launchimage is not shown

Now I delete the app

run 6 (app installation): setup: app not installed, simulator running result: launch image is not shown

It still never shows on a tvOS 12 device.



from tvOS launch image not visible

No comments:

Post a Comment