Cordova Phonegap 3.1 iOS应用程序加载时重新调整屏幕

Cordova Phonegap 3.1 iOS应用程序加载时重新调整屏幕,cordova,phonegap-build,Cordova,Phonegap Build,启动应用程序时,splashscreen图像会出现故障,并以某种方式调整自身大小。这在本地和phonegap构建时都会发生 这是my config.xml中的一部分。我添加了上面提到的图片: enter code here <gap:splash gap:platform="ios" height="480" src="res/screen/ios/screen-iphone-portrait.png" width="320" /> <gap:splash gap:platfo

启动应用程序时,splashscreen图像会出现故障,并以某种方式调整自身大小。这在本地和phonegap构建时都会发生

这是my config.xml中的一部分。我添加了上面提到的图片:

enter code here
<gap:splash gap:platform="ios" height="480" src="res/screen/ios/screen-iphone-portrait.png" width="320" />
<gap:splash gap:platform="ios" height="960" src="res/screen/ios/screen-iphone-portrait-2x.png" width="640" />
<gap:splash gap:platform="ios" height="1024" src="res/screen/ios/screen-ipad-portrait.png" width="768" />
<gap:splash gap:platform="ios" height="768" src="res/screen/ios/screen-ipad-landscape.png" width="1024" />
在此处输入代码

发现它在第一次加载时使用的是“res/screen/ios/screen-iphone-grait-2x.png”,而不是“res/screen/ios/screen-iphone-grait.png”。因此,我在“res/screen/ios/screen-iphone-grait-2x.png”中使用了相同的图像,它不再调整大小。

有什么解决方案吗?