You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/26 09:28:46 UTC

[GitHub] [cordova-ios] FireLizard commented on issue #918: Calling `navigator.splashscreen.hide()` does not hide the splashscreen

FireLizard commented on issue #918:
URL: https://github.com/apache/cordova-ios/issues/918#issuecomment-650084487


   I've tried that already :(
   Here my most minimal index.html
   ```html
   <!DOCTYPE html>
   <html>
   <head>
       <script type="text/javascript" src="cordova.js"></script>
   </head>
   <body>
       <script>
           document.addEventListener('deviceready', function () {
               alert('deviceready');
               setTimeout(function () {
                   alert('hide now');
                   navigator.splashscreen.hide();
               },4000);
           })
       </script>
   </body>
   </html>
   ```
   Both alerts were shown, but the splashscreen stays there.
   
   I've built it with **Xcode v11.3.1** and testet on an **iPhone 7, iOS 13.5.1**.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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