Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter - iOS Launch screen not loading properly

I'm trying to make a new launch screen for the iOS version of my app debug.

When the app loads I expect to see the image below, labeled A, but instead I see image B

If you look at image B from a low angle, you can see a white spot on the screen. I assume this means that the LaunchImage worked, but obviously there's a problem with the image itself (a .png file). I think this is a problem with transparency with the image but I'm not sure why its occuring.

If I could get any information on why this is happening, even if its just a confirmation that this kind of image isn't supported that would be great.

A

enter image description here

B

enter image description here

Here's an image of my launch screen xib;

enter image description here

like image 490
Jake Avatar asked Aug 17 '26 01:08

Jake


1 Answers

I see, you have to change the LaunchScreen.storyboard file from your iOS project , not the LaunchImage.png.

Locate your ios folder and open the Runner.xcworkspace file using Xcode.

I wrote a complete post about that topic if you want more information : https://medium.com/@diegoveloper/flutter-splash-screen-9f4e05542548

like image 94
diegoveloper Avatar answered Aug 18 '26 13:08

diegoveloper



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!