スプラッシュ画面が権利を取得するために悪名高いトリッキーですPhoneGapのデフォルトのスプラッシュアイコンが表示されます。私は常に1つの "splash.png"イメージのみを使用するときに問題を抱えていたので、あなたの現在のデバイス用に1つのスプラッシュスクリーンをサイジングし、次に他のものを追加することを推奨します。次のサイズを利用して、フォルダ構造と画像の寸法がが正確にと一致することを確認します。それ以外の場合は、代わりにデフォルトのPhoneGapが表示されます。
注:「スプラッシュ/イオス」:フォルダのパスは以下である必要はありません。 "[email protected]~iphone.png"などのファイル名と同じです。実際のファイル名が一致していれば、名前は自由です。
<!-- iPhone 5/iPod Touch (5th Generation) -->
<splash src="splash/ios/[email protected]~iphone.png" platform="ios" width="640" height="1136" />
<!-- iPhone 6 -->
<splash src="splash/ios/Default-667h.png" platform="ios" width="750" height="1334" />
<splash src="splash/ios/Default-736h.png" platform="ios" width="1242" height="2208" />
<splash src="splash/ios/Default-Landscape-736h.png" platform="ios" width="2208" height="1242" />
<!-- iPad -->
<splash src="splash/ios/Default-Portrait~ipad.png" platform="ios" width="768" height="1024" />
<splash src="splash/ios/Default-Landscape~ipad.png" platform="ios" width="1024" height="768" />
<!-- Retina iPad -->
<splash src="splash/ios/[email protected]~ipad.png" platform="ios" width="1536" height="2048" />
<splash src="splash/ios/[email protected]~ipad.png" platform="ios" width="2048" height="1536" />
iphone 7または他のデバイスについてのごcode.Whatでちょうどiphone 5 iphoneと6?特にアンドロイドがあり、多くの異なるsize..Iがために一つだけsplash.pngを使用したいましたすべてのデバイス – user1688401
「iPhone 6」の寸法は7と同じです。こちらをご覧ください:http://cordova.apache.org/docs/en/6.x/reference/cordova-plugin-splashscreen/index.html Androidや他のすべての場合は、公式のdoc:http://docs.phonegap.com/phonegap-build/configuring/icons-and-splash/を参照してください。私の答えが明らかでない場合はお詫び:PhoneGap Buildのドキュメントでは1つのファイルだけを使用しているとは言えません。 – dotNetkow