我们正在为我们的应用程序使用 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 pixels) Default-Landscape@2x~ipad.png (2048x1496 pixels) Default-Landscape~ipad.png (1024x748 pixels) Default-Portrait@2x~ipad.png (1536x2008 pixels) Default-Portrait~ipad.png (768x1004 pixels) Default@2x~iphone.png (640x960 pixels) Default~iphone.png (320x480 pixels)
我们应该按照 IOS 文档中的说明重命名 config.xml 中的名称,还是由 phonegap 构建谁来做?
谢谢!
最佳答案
Phonegap build 做到了。那是我的编译(重命名 .ipa 到 .zip)来自 phonegap 构建,我在 checkin 的代码中没有这些名称。 . .
关于ios - 在 config.xml 中为 IOS 命名闪屏文件 (Phonegap),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19835439/