1、设置应用的名称
选择你的工程,选中“Info”,再点击“Bundle Name”,在后面填上我们需要修改的应用名称即可。

2、设置应用的图标
2.1、首先在工程中选中assets.xcassets,然后选择“AppIcon”,把预先准备好的各个尺寸的icon拖到相应的框中。

2.2、icon图标大小一定要正确,否则,图标显示不正常。icon图标大小为:59*58,87*87; 80*80,120*120; 120*120,180*180
3、设置启动图
3.1、首先仍然选择“assets.xcassets”,在“+”点击加号,选择“App Icon & Launch Images”中“New iOS Launch Image,

3.2、如果已经有了“LaunchImage”,把对应的启动图拖进来就可以了。

3.3、选择你的工程名称,TARGETS的“General”,将“Launch Image Sources”选择对应的启动图的名称,“Launch Screen File”什么都不用选即可。
1x:320x480
2x:640x960
Retina 4:640x1136
Retina HD 4.7:750x1334
Retina HD 5.5:1242x2208

4、启动图效果图:
5、如果没有看到添加的启动图:
如果按照上面的步骤,且设置了Launch Images Srouce 为LaunchImage,但是启动图片仍然没有,
在工程Main.storyboard的下,看一看Use as launch Screen是否勾选了,如果勾选了,则取消勾选项,如图:

网友评论