White screen flashing on iOS Cordova app

Viewed 616

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.

2 Answers

You must have a splash screen in your app. If you don't have one, users might think their phone is frozen if an app takes a long time to load.

For handling this issue, include a launch screen that resembles the first actual screen of your app.

For more information, check out iOS Human Interface Guidelines.

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.

Related