iOS App设置icon,启动图

每款App都要有自己的icon,和名称。需要的话还需要设置启动图。
今天我们就来说一下如何设置这些。本篇博客暂不讨论关于尺寸的问题。

icon:
icon的设置还是很简单的
iOS App设置icon,启动图_第1张图片
根据上图的箭头和红框标记所示,
首先在工程中选中“images”,然后选择“AppIcon”,把预先准备好的各个尺寸的icon拖到相应的框中。

 

iOS7到iOS8以前需要的icon尺寸以及名称

Image Size (px)

File Name

Used For

App Store

Ad Hoc

512x512

iTunesArtwork

App list in iTunes

Do not include

Optional but recommended

1024x1024

iTunesArtwork@2x

App list in iTunes for devices with retina display

Do not include

Optional but recommended

120x120

[email protected]

Home screen on iPhone/iPod Touch with retina display

Required

Required

76x76

Icon-76.png

Home screen on iPad

Required

Required

152x152

[email protected]

Home screen on iPad with retina display

Optional but recommended

Optional but recommended

40x40

Icon-Small-40.png

Spotlight

Optional but recommended

Optional but recommended

80x80

[email protected]

Spotlight on devices with retina display

Optional but recommended

Optional but recommended

29x29

Icon-Small.png

Settings

Recommended if you have a Settings bundle, optional otherwise

Recommended if you have a Settings bundle, optional otherwise

58x58

[email protected]

Settings on devices with retina display

Recommended if you have a Settings bundle, optional otherwise

Recommended if you have a Settings bundle, optional otherwise

 
iOS6.1及之前版本icon尺寸及其名称

Image Size (px)

File Name

Used For

App Store

Ad Hoc

57x57

Icon.png

Home screen on iPhone/iPod touch (iOS 6.1 and earlier)

Required

Required

114x114

[email protected]

Home screen on iPhone/iPod Touch with retina display (iOS 6.1 and earlier)

Optional but recommended

Optional but recommended

72x72

Icon-72.png

Home screen on iPad (iOS 6.1 and earlier)

Required

Required

144x144

[email protected]

Home screen on iPad with retina display (iOS 6.1 and earlier)

Optional but recommended

Optional but recommended

29x29

Icon-Small.png

Spotlight on iPhone/iPod Touch (iOS 6.1 and earlier) and Settings

Recommended if you have a Settings bundle, otherwise optional but recommended

Recommended if you have a Settings bundle, otherwise optional but recommended

58x58

[email protected]

Spotlight on iPhone/iPod Touch with retina display (iOS 6.1 and earlier) and Settings on devices with retina display

Recommended if you have a Settings bundle, otherwise optional but recommended

Recommended if you have a Settings bundle, otherwise optional but recommended

50x50

Icon-Small-50.png

Spotlight on iPad (iOS 6.1 and earlier)

Optional but recommended

Optional but recommended

100x100

[email protected]

Spotlight on iPad with retina display (iOS 6.1 and earlier)

Optional but recommended

Optional but recommended

 

 

App名称:
iOS App设置icon,启动图_第2张图片
如图所示
选择你的工程,选中“Info”,再点击“Bundle Display Name”,在后面填上我们需要的App名称即可

启动图:
这个稍微麻烦点,下面要仔细看了
第一步
iOS App设置icon,启动图_第3张图片
首先仍然选择“images”,可能在“4”这里找不到“LaunchImage”,这时在“2”点击加号,选择“New Launch Image”,即可。
如果已经有了“LaunchImage”,把对应的启动图拖进来就可以了。

Default的尺寸:

  命名规则:   

    iphone4    Default.png(640x960)

    iphone4s    [email protected](640x960)

    iphone5     [email protected](640x1136)

    iphone6     [email protected](750x1136)

    iphone6p          [email protected](1242x2208)

    iPad Mini/iPad   Default~ipad.png(768x1024)

    Retina iPad       [email protected](1536x2048)

    

第二步
iOS App设置icon,启动图_第4张图片
选择“1”的工程名称,“2”的“General”,“3”中“Launch Image Sources”选择对应的启动图的名称,“Launch Screen File”什么都不用选即可。

这时启动图就设定好了。当然这只是最基本的启动图设置方法,也可以自定义启动图,这里就暂时不说了。
看下效果图

这是icon和名称的
iOS App设置icon,启动图_第5张图片

还有启动图的
iOS App设置icon,启动图_第6张图片

你可能感兴趣的:(iOS App设置icon,启动图)