我的啓動屏幕= 2208 x 2208和應用程序圖標192 X 192.我正在使用ionic1
但我仍正在運行的命令,ionic cordova resource
命令生成的應用程序圖標和啓動畫面錯誤「:」源圖像2208x2208對於[email protected]~ipadpro.png來說太小,至少需要2732x2048源文件「
在Android中它工作正常但是當我做了iOS版,它拋出我這個錯誤:。
Error: encountered bad status code (400) for https://res.ionic.io/api/v1/transform body: {"Error":"source image 2208x2208 too small for [email protected]~ipadpro.png, requires at least 2732x2048 source file"}
我不我不知道它是什麼問題,我只將閃屏設爲正確尺寸,但我不知道它爲什麼不適用於iOS。
我可以更新我的離子版本來完成我的應用程序的重新工作。
更新
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="orientation" value="portrait" />
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
<icon height="114" src="resources/ios/icon/[email protected]" width="114" />
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
<icon height="80" src="resources/ios/icon/[email protected]" width="80" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
<icon height="100" src="resources/ios/icon/[email protected]" width="100" />
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="180" src="resources/ios/icon/[email protected]" width="180" />
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
<icon height="144" src="resources/ios/icon/[email protected]" width="144" />
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
<icon height="152" src="resources/ios/icon/[email protected]" width="152" />
<icon height="167" src="resources/ios/icon/[email protected]" width="167" />
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
<splash height="1136" src="resources/ios/splash/[email protected]~iphone.png" width="640" />
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
<!-- <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
<splash height="1536" src="resources/ios/splash/[email protected]~ipad.png" width="2048" />
<splash height="2048" src="resources/ios/splash/[email protected]~ipadpro.png" width="2732" /> -->
<!-- <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> -->
<splash height="2048" src="resources/ios/splash/[email protected]~ipad.png" width="1536" />
<splash height="2732" src="resources/ios/splash/[email protected]~ipadpro.png" width="2048" />
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
<splash height="960" src="resources/ios/splash/[email protected]~iphone.png" width="640" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
</platform>
你在你的應用程序提供橫向模式? –
@nivesh shastri如何禁用該景觀模式...我不想現在...只有potrait我需要 –
檢查我的答案。 –