Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/111.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在config.xml(Phonegap)中为IOS命名初始屏幕文件_Ios_Iphone_Ipad_Cordova_Phonegap Build - Fatal编程技术网

在config.xml(Phonegap)中为IOS命名初始屏幕文件

在config.xml(Phonegap)中为IOS命名初始屏幕文件,ios,iphone,ipad,cordova,phonegap-build,Ios,Iphone,Ipad,Cordova,Phonegap Build,我们正在为我们的应用程序使用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=

我们正在为我们的应用程序使用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
.png
违约-568h@2x~iphone.png(640x1136像素) 违约-Landscape@2x~ipad.png(2048x1496像素) 默认景观~ipad.png(1024x748像素) 违约-Portrait@2x~ipad.png(1536x2008像素) 默认肖像~ipad.png(768x1004像素)Default@2x~iphone.png (640x960像素)默认~iphone.png(320x480像素)

我们应该按照IOS文档中的说明重命名config.xml中的名称,还是phonegap build是谁做的


谢谢

Phonegap构建完成了这一任务。这是我的汇编(重命名) .ipa到.zip),而我的签入代码中没有这些名称


Phonegap build可以做到这一点。这是我的汇编(重命名) .ipa到.zip),而我的签入代码中没有这些名称


如果您使用终端创建项目,则无需更改飞溅图像。自动启动在当前版本上创建的图像和启动器图标名称。我现在检查了在使用terminal创建项目时,config.xml中没有对splashscreen的引用。对我来说效果很好。如果你使用终端创建项目,就不需要更改飞溅图像。自动启动在当前版本上创建的图像和启动器图标名称。我现在检查了在使用terminal创建项目时,config.xml中没有对splashscreen的引用。对我来说很好,谢谢!这有助于。。。但是Phonegap build没有部署苹果推荐的一些图标,请看这里的问题:谢谢!这有助于。。。但是Phonegap build没有部署苹果推荐的一些图标,请参见此处的问题: