草庐IT

AutoHideSplashScreen

全部标签

android - 禁用 Android 的 AutoHideSplashScreen 不起作用

以下Phonegap项目(PhonegapBuild)不工作:配置文件:索引:window.location='http://www.example.com/login';document.AddEventListener("deviceready",OnDeviceReady,false);functionOnDeviceReady(){setTimeout(function(){navigator.splashscreen.hide();},6000);};启动画面一直保持并加载。无法重定向到主页。我试过这个:PhoneGapBuildiOSapphasblankwhitescre

ios - 设置 AutoHideSplashScreen 在 Cordova 3.0.0 for iOS 中无效

将AutoHideSplashScreen设置为false在Cordova3.0.0foriOS中无效。我想自己控制启动画面。由于应用程序需要几秒钟来呈现View,因此需要显示更长的时间。“navigator.splashscreen”安装在项目中。有什么解决方法可以解决这个问题吗?注意我提到设置FadeSplashScreen和FadeSplashScreenDuration也没有效果。我做错了什么?或者这是一个错误? 最佳答案 CordovaJIRAIssueCB-4374上发布了一个解决方案:尝试将此添加到您的Splashsc