SwiftUI - LaunchImage not showing

1.8k Views Asked by At

I cannot get a Launch Image to be displayed on my app, whatever I try. For context, this is a completely new, 100% SwiftUI project and is in its very early infancy.

Everything builds & runs perfectly fine, but I just cannot get any launch image customisation going...

My Info.plist: info.plist

My assets: asset catalog

I've tried cleaning, deleting DerivedData, reinstalling app on device + sim but to no avail...

What am I doing wrong?

2

There are 2 best solutions below

0
Goergisn On

I ran into a similar issue before and got it fixed by restarting my phone.

See also: iOS launch screen does not update

2
J_B_UK On

When using launch storyboards I found that if the images that I used where too large it would launch with a black screen.

I reduced the size of the images I was using (one was reduced to 900px by 700px) but I don't know the magical size that sorts it, I then rebooted my iPhone and it started to work fine.

I don't know if the size issue would affect normal launch images but it may be worth giving it a try with a smaller image.