Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/EmptyTag/131.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
Ios sencha cmd包装iphone 5_Ios_Sencha Touch_Sencha Touch 2 - Fatal编程技术网

Ios sencha cmd包装iphone 5

Ios sencha cmd包装iphone 5,ios,sencha-touch,sencha-touch-2,Ios,Sencha Touch,Sencha Touch 2,我正在将sencha应用程序打包到本机iOS应用程序中。它工作正常,但当我在iPhone 5上运行时,由于启动程序映像640X1136不在.ipa文件中,因此该应用程序无法在全屏上使用。显示黑色条纹,应用程序在iPhone4分辨率中可见 注意:.ipa通过sencha cmd生成,packager.json用于获取配置和证书 在packager.json中,我可以看到图标配置,但看不到启动配置。有人能给我指出正确的方向吗?我可以在sencha touch应用程序中为iPhone配置闪屏图像设置

我正在将sencha应用程序打包到本机iOS应用程序中。它工作正常,但当我在iPhone 5上运行时,由于启动程序映像640X1136不在.ipa文件中,因此该应用程序无法在全屏上使用。显示黑色条纹,应用程序在iPhone4分辨率中可见

注意:.ipa通过sencha cmd生成,packager.json用于获取配置和证书

在packager.json中,我可以看到图标配置,但看不到启动配置。有人能给我指出正确的方向吗?我可以在sencha touch应用程序中为iPhone配置闪屏图像设置


提前感谢。

对于Phonegap本机版本:

您需要在phonegap config.xml文件中设置映像路径。样品


感谢您提供的解决方案,但我没有使用phonegap,我正在使用Sencha cmd进行本机打包。您的目录resources/startup/640x920.png中应该有一个文件。不要更改名称,只需将此启动映像替换为一个新的640x1136大小的映像。好主意,我会检查它,然后通知您。命名约定如何?违约-568h@2x如果未找到,则不会显示iphone 5的启动屏幕,也不会显示完整分辨率。
 <gap:splash src="res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios"     width="640" height="1136" />
 'startupImage': 
    {
              '320x460': 'resources/startup/320x460.jpg',
              '640x920': 'resources/startup/640x920.png',
              '640x1096': 'resources/startup/640x1096.png',
              '768x1004': 'resources/startup/768x1004.png',
              '748x1024': 'resources/startup/748x1024.png',
              '1536x2008': 'resources/startup/1536x2008.png',
              '1496x2048': 'resources/startup/1496x2048.png'
          }