Black screen before splash screen

Hi, I'm experiencing a very weird bug that I can't seem to fix no matter how: I'm creating my LaunchScreen.storyboard with only a image (gradient background) + centered logo. Both images are PNG and sizes are ok.

When the app launches I can briefly see a black screen that then turns into the splash screen. It's like if the assets took a while to load.

This is really a tedious bug and has got me around this for hours now without a clear solution.

Already tried restarting, cleaning, creating a new project etc. sometimes the background loads immediately but as soon as I add another ImageView it then starts showing the black frame.

It is on device I suppose ?

.

PNG and sizes are ok

How large ?

Did you try to copy image in xcassets ? Does it make a difference ?

This happens both on device and simulator. I'm not sure what makes that "black" screen trigger before — also, seems a bit odd that I have to use an image to create a simple background gradient.

Black screen before splash screen
 
 
Q