$ cordova plugin addcordova-plugin-splashscreen
此处没有方法,主要是一些config.xml的配置
2. Example
下面则是配置icon图标和启动图片
<platform name="ios"> <allow-intent href="itms:*"/> <allow-intent href="itms-apps:*"/> <icon src="res/icon/ios/icon-60@3x.png"width="180"height="180"/> <icon src="res/icon/ios/icon-60@2x.png"width="120"height="120"/> <splash src="res/screen/ios/LaunchImage-700@2x.png"width="640"height="960"/> <splash src="res/screen/ios/LaunchImage-700-568h@2x.png"width="640"height="1136"/> <splash src="res/screen/ios/LaunchImage-800-667h@2x.png"width="750"height="1334"/> <splash src="res/screen/ios/LaunchImage-800-Portrait-736h@3x.png"width="1242"height="2208"/> </platform>
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有