$ 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>