Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting AutoHideSplashScreen has no effect in Cordova 3.0.0 for iOS

Tags:

ios

cordova

Setting AutoHideSplashScreen to false has no effect in Cordova 3.0.0 for iOS.
I'd like to control the splash screen by my own. Since the app needs some seconds to render the view it needs to be shown a bit longer. The 'navigator.splashscreen' is installed within the project.
Is there any workaround i can apply to this?

Note
I mentioned that setting FadeSplashScreen and FadeSplashScreenDuration do also have no effect.

What am i doing wrong? Or is it a bug?

like image 324
Alexander Avatar asked Oct 21 '22 04:10

Alexander


1 Answers

A solution was posted on this Cordova JIRA Issue CB-4374:

Try adding this in your config.xml for the Splashscreen plugin:

<feature name="SplashScreen">
    <param name="ios-package" value="CDVSplashScreen"/>
    <param name="onload" value="true" />
</feature>
like image 185
Alexander Avatar answered Oct 27 '22 11:10

Alexander