科尔多瓦-如何没有开机画面? [英] Cordova - How to not have a splash screen?
本文介绍了科尔多瓦-如何没有开机画面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不想为我的Cordova项目(Android和iOS)启动屏幕,如何将其删除?我试图禁用启动屏幕插件,但它继续出现!该怎么解决?
I don't want a splash screen for my Cordova project (Android and iOS), how to remove it? I tried to disable the splash screen plugin, but it continues to appear! How to solve?
<?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="dev@cordova.apache.org" 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中进行如下更改:
Pls. do Change in config.xml as below:
<preference name="AutoHideSplashScreen" value="true" />
<preference name="SplashScreenDelay" value="0"/>
这篇关于科尔多瓦-如何没有开机画面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文