我已經構建了一個使用Phonegap構建的應用程序,並且試圖讓啓動屏幕在每個設備上正常工作。以下是我如何將它們包括在我的config.xml中:phonegap構建ios splashscreen
<gap:splash gap:platform="ios" src="res/screen/ios/screen-ipad-portrait-2x.png" width="1536" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-ipad-portrait.png" width="768" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-ipad-landscape-2x.png" width="2048" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-ipad-landscape.png" width="1024" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-iphone-landscape-2x.png" width="960" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-iphone-landscape.png" width="480" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-iphone-portrait-2x.png" width="640" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-iphone-portrait.png" width="320" />
<gap:splash gap:platform="ios" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="320" />
並且所有圖像都存在於正確的文件夾中。
我遇到的問題是,在我的iPad,在橫向模式下顯示正確的啓動畫面 - 但在人像相同的閃屏似乎出現(streached和裁剪以適合)
如何獲得正確的啓動畫面顯示?