我不想为我的Cordova项目(Android和iOS)启动屏幕,如何删除它?我试图禁用启动屏幕插件,但它继续出现!怎么解决?
<?xml version="1.0" enCoding="utf-8" standalone="no"?><Widget xmlns="http://www.w3.org/ns/Widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" ID="app.appname" version="1.0.0"> <name>App name</name> <description> App name description </description> <author email="[email protected]" href="http://cordova.io"> Apache Cordova Team </author> <content src="index.HTML"/> <plugin name="cordova-plugin-whiteList" spec="1"/> <access origin="*"/> <allow-intent href="http://*/*"/> <allow-intent href="https://*/*"/> <allow-intent href="tel:*"/> <allow-intent href="sms:*"/> <allow-intent href="mailto:*"/> <allow-intent href="geo:*"/> <platform name="androID"> <allow-intent href="market:*"/> </platform> <platform name="ios"> <allow-intent href="itms:*"/> <allow-intent href="itms-apps:*"/> </platform> <preference name="SplashScreen" value="none"/></Widget>
解决方法:
请在config.xml中进行如下更改:
<preference name="autoHIDeSplashScreen" value="true" /><preference name="SplashScreenDelay" value="0"/>
总结 以上是内存溢出为你收集整理的android-科尔多瓦-如何没有启动画面?全部内容,希望文章能够帮你解决android-科尔多瓦-如何没有启动画面?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)