Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

White screen flashing on iOS Cordova app

Tags:

ios

cordova

I created a HelloWorld app with Cordova:

cordova create hello ; cd hello ; cordova platform add ios

When I run it on iOS, a white blank screen flashes just before the app is loaded. How can I get rid of this flashing?

I found many solutions with splash screen configuration, but I don't want a splash screen in my app. (The HelloWorld already has a splash screen, but this does not prevent the flashing problem.) I also tried to set the background-color to black with no success.

like image 888
Patrick Avatar asked Nov 18 '25 11:11

Patrick


1 Answers

To get rid of this, the only solution I found was to install the splashscreen plugin and create a black screen image. I also set the preference TopActivityIndicator to whiteLarge. Too bad that Cordova does not work better out of the box.

like image 152
Patrick Avatar answered Nov 21 '25 04:11

Patrick



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!