首页 文章

在config.xml(Phonegap)中为IOS命名启动画面文件

提问于
浏览
1

我们正在为我们的应用程序使用phonegap,现在我们在conig.xml中添加了启动画面,但在阅读有关文件名称的IOS和Phonegap文档之后我们有点困惑 .

Phonegap文件说:

<gap:splash src="splash/ios/Default.png" gap:platform="ios" width="320" height="480" /><gap:splash src="splash/ios/Default_at_2x.png" gap:platform="ios" width="640" height="960"/>
<gap:splash src="splash/ios/Default_iphone5.png" gap:platform="ios" width="640" height="1136" />
<gap:splash src="splash/ios/Default-Landscape.png" gap:platform="ios" width="1024" height="748" />
<gap:splash src="splash/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1004" />

<!-- retina iPad support: PhoneGap 2.5.0+ only -->
<gap:splash src="splash/ios/Default-Landscape_at_2x.png" gap:platform="ios" width="2048" height="1496" />
<gap:splash src="splash/ios/Default-Portrait_at_2x.png" gap:platform="ios" width="1536" height="2008" />

IOS文档说:

<basename><usage_specific_modifiers><scale_modifier><device_modifier>.png

Default-568h@2x~iphone.png(640x1136像素)Default-Landscape@2x~ipad.png(2048x1496像素)Default-Landscape~ipo.png(1024x748像素)Default-Portrait@2x~ipad.png(1536x2008像素) )Default-Portrait~ipad.png(768x1004像素)Default@2x~iphone.png(640x960像素)默认~iphone.png(320x480像素)

我们是应该重命名config.xml中的名称,如IOS文档所述,还是phonegap构建者是谁?

谢谢!

1 回答

  • 1

    Phonegap构建做到了 . 这是我从phonegap构建的编译(重命名.ipa到.zip),我在我的签入代码中没有这些名字 . . .

    enter image description here

相关问题