在PhoneGap中手动删除启动屏幕 [英] Remove splash screen manually in PhoneGap
本文介绍了在PhoneGap中手动删除启动屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在iOS上,我想保持启动画面,直到我的应用程序准备好了。我看到在Cordova.plist中有一个标志AutoHideSplashScreen - 如果我关闭如何触发它我自己删除?
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!
推荐答案
在iOS上,您应该可以调用 navigator.splashscreen.hide();
On iOS you should be able to call navigator.splashscreen.hide();
从1.8.0开始支持在Android中执行此操作。
Support for doing this in Android is available since 1.8.0.
这篇关于在PhoneGap中手动删除启动屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文