Remove splash screen manually in PhoneGap

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!

Answers


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

Support for doing this in Android is available since 1.8.0.


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", [])

Need Your Help

"Keep Me Logged In" - the best approach

php security session remember-me

My web application uses sessions to store information about the user once they've logged in, and to maintain that information as they travel from page to page within the app. In this specific appli...

Programmatically set the UITabBarItem icon for every linked ViewController

ios swift uitabbarcontroller

Currently we are changing the image shown in the UITabBarItem like this: