Wiingaard
Wiingaard

Reputation: 4302

tvOS; Launch Image doesn't appear on launch

I'm developing an tvOS app, and I'm trying to set the LaunchImage.

I've added a .pgn-file with size 1920 × 1080 called LaunchImage.pgn to Assets.xcassets, by dragging the file from finder to the LaunchImage image-socket in xcode. But the Launch Image doesn't appear when i launch the app.

screenshot from assest.xcassets


In the target settings, under general:

enter image description here


From the Contents.json-file in /project-folder/Assets.xcassets/LaunchImage.launchimage:

enter image description here


I have tried cleaning the build folder, made a clean build, tried with different files with different filenames.

Any clues?

This seems a bit buggy, maybe someone has found a workaround?

Upvotes: 2

Views: 941

Answers (1)

Wiingaard
Wiingaard

Reputation: 4302

I used Sketch to export the PNG. I exported a bitmap copy of a screenshot from the simulator, and it must have had some alpha channels. I didn't get any warnings in xcode.

I followed the solution presented in this post, and it solved the problem: Export PNG without alpha

Thanks Daniel! :)

Upvotes: 1

Related Questions