Phonegap生成IOS应用程序不显示是ICON /启动图像
我的IOS应用程序创建时没有显示其图标/启动图像phonegap生成。 我有包括在res图标图像/图标/ IOS与具有路径图标图像尺寸57*57, 114*114, 40*40, 80*80, 120*120, 50*50, 100*100, 60*60, 120*120, 180*180, 72*72, 144*144, 76*76, 152*152, 29*29, 58*58, 87*87
。而配置文件夹是Phonegap生成IOS应用程序不显示是ICON /启动图像
<icon src="icon.png"/>
<platform name="ios">
<icon src="res/icon/ios/icon.png" width="57" height="57"/>
<icon src="res/icon/ios/[email protected]" width="114" height="114"/>
<icon src="res/icon/ios/icon-40.png" width="40" height="40"/>
<icon src="res/icon/ios/[email protected]" width="80" height="80"/>
<icon src="res/icon/ios/icon-50.png" width="50" height="50"/>
<icon src="res/icon/ios/[email protected]" width="100" height="100"/>
<icon src="res/icon/ios/icon-60.png" width="60" height="60"/>
<icon src="res/icon/ios/[email protected]" width="120" height="120"/>
<icon src="res/icon/ios/[email protected]" width="180" height="180"/>
<icon src="res/icon/ios/icon-72.png" width="72" height="72"/>
<icon src="res/icon/ios/[email protected]" width="144" height="144"/>
<icon src="res/icon/ios/icon-76.png" width="76" height="76"/>
<icon src="res/icon/ios/[email protected]" width="152" height="152"/>
<icon src="res/icon/ios/icon-small.png" width="29" height="29"/>
<icon src="res/icon/ios/[email protected]" width="58" height="58"/>
<icon src="res/icon/ios/[email protected]" width="87" height="87"/>
<icon height="87" src="res/icon/ios/icon-87.png" width="87" />
<icon height="58" src="res/icon/ios/icon-58.png" width="58" />
我的WWW文件夹结构是
和RES /图标/ ios结构是
但是IOS版本完全忽略了这个图标图像。 我用build.phonegap.com创建ipa文件,并检查图标图像,我解压缩这个ipa文件,然后得到文件结构像Payload/ShreeMedical.app包含各种大小的AppIcon和LaunchImages,但都是黑色图像不是我的图标图像。 Untitled.png如何解决这个问题。
您有图标的名称将在Info.plist文件
匹配的图标名称检查您的应用程序图标在这里Assets.xcassets - > AppIcon.appiconset,必须有内容JSON和图标图像,你可以给JSON图像名称并在该文件夹中的图像,然后它自动设置。
相同发射升空的图像也“Assets.xcassets - > LaunchImage.launchimage”给在内容JSON的名称和在同一文件夹给图像
检查一次以下图片仅供参考
我正在创建IOS平台phonegap应用程序phonegap桌面,phonegap开发人员应用程序和Windows机器上的视觉工作室不是Mac。在这里,我没有得到Assets.xcassets文件夹 –
没关系,它将适用于Xcode,我不知道手机的差距。 –
有是没有名称的文件info.plist –
按命令+ shift + o并请输入info.plist –
请接受答案,如果它帮助:) –