每款App都要有自己的icon,和名称。需要的话还需要设置启动图。
今天我们就来说一下如何设置这些。本篇博客暂不讨论关于尺寸的问题。
icon:
icon的设置还是很简单的
根据上图的箭头和红框标记所示,
首先在工程中选中“images”,然后选择“AppIcon”,把预先准备好的各个尺寸的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 |
[email protected] |
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 |
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名称:
如图所示
选择你的工程,选中“Info”,再点击“Bundle Display Name”,在后面填上我们需要的App名称即可
启动图:
这个稍微麻烦点,下面要仔细看了
第一步
首先仍然选择“iamges”,可能在“4”这里找不到“LaunchImage”,这时在“2”点击加号,选择“New Launch Image”,即可。
如果已经有了“LaunchImage”,把对应的启动图拖进来就可以了。
第二步
选择“1”的工程名称,“2”的“General”,“3”中“Launch Image Sources”选择对应的启动图的名称,“Launch Screen File”什么都不用选即可。
这时启动图就设定好了。当然这只是最基本的启动图设置方法,也可以自定义启动图,这里就暂时不说了。
看下效果图
这是icon和名称的
还有启动图的
时间: 2024-10-12 18:46:57