Remove splash screen manually in PhoneGap

11,169

Solution 1

On iOS you should be able to call navigator.splashscreen.hide();

Support for doing this in Android is available since 1.8.0.

Solution 2

A quick look in Google and I found this

Basically what you have to do is:

navigator.splashscreen.hide();

On Cordova 1.6.0 is:

cordova.exec(null, null, "SplashScreen", "hide", [])
Share:
11,169
fancy
Author by

fancy

Updated on June 09, 2022

Comments

  • fancy
    fancy almost 2 years

    On iOS I would like to hold the splash screen up until my app is ready. I see there is a flag in the Cordova.plist called AutoHideSplashScreen -- if I turn this off how to I trigger it's removal on my own?

    Thanks!