You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/02/02 13:11:39 UTC

[jira] [Commented] (CB-10501) Splashscreen doesn not hide on command in IOS

    [ https://issues.apache.org/jira/browse/CB-10501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128148#comment-15128148 ] 

jcesarmobile commented on CB-10501:
-----------------------------------

It's not working as you say, navigator.splashscreen.hide(); is "working", but it's waiting the SplashScreenDelay before hiding it. If you remove your navigator.splashscreen.hide(); line it won't disappear when the SplashScreenDelay runs out.

This behaviour is not right.

{quote}
SplashScreenDelay (number, default to 3000). Amount of time in milliseconds to wait before *automatically* hide splash screen.
{quote}

Using navigator.splashscreen.hide(); shouldn't wait for SplashScreenDelay because it should only be used when it's automatically hiden, not when you programatically call navigator.splashscreen.hide();





> Splashscreen doesn not hide on command in IOS
> ---------------------------------------------
>
>                 Key: CB-10501
>                 URL: https://issues.apache.org/jira/browse/CB-10501
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin SplashScreen
>    Affects Versions: 3.1.0
>         Environment: ionic
> ngcordova
>            Reporter: Core Elements
>
> after updating from 3.0.0 to 3.1.0 I've noticed that
> $cordovaSplashscreen.hide();
> or
> navigator.splashscreen.hide();
> doesn't work any more. It doesn't hide the splashscreen anymore.
> my config.xml
>   <preference name="SplashScreen" value="screen"/>
>   <preference name="ShowSplashScreenSpinner" value="true"/>
>   <preference name="AutoHideSplashScreen" value="false"/>
>   <preference name="SplashScreenDelay" value="50000"/>
>   <preference name="FadeSplashScreen" value="false"/>
>   
> so it ignores the hide() command, but still it waits untill SplashScreenDelay is reached
> all is fine on Android.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org