iOS App设置icon,启动图

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iOS App设置icon,启动图相关的知识,希望对你有一定的参考价值。

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

icon:
icon的设置还是很简单的
技术分享
根据上图的箭头和红框标记所示,
首先在工程中选中“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

[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

 
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名称:
技术分享
如图所示
选择你的工程,选中“Info”,再点击“Bundle Display Name”,在后面填上我们需要的App名称即可

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

第二步
技术分享
选择“1”的工程名称,“2”的“General”,“3”中“Launch Image Sources”选择对应的启动图的名称,“Launch Screen File”什么都不用选即可。

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

这是icon和名称的
技术分享

还有启动图的
技术分享

以上是关于iOS App设置icon,启动图的主要内容,如果未能解决你的问题,请参考以下文章

iOS-APP-Icon 图标启动图及名字的设置

iOS App Icon启动图尺寸配置适配iPhone XS XR XS Max等

Flutter_设置APP图标和启动图

iOS开发:设置APP的图标与启动图 | iOS图标的尺寸 | LaunchScreen的使用

App启动图不显示的解决办法.

Livecode iOS 错误 ITMS-90022 Bundle 不包含 App Icon