当前位置: 首页 > 工具软件 > iconsize > 使用案例 >

IOS App Icon Size 图标尺寸 LaunchImage iPhone Portrait 启动画面大小 Image资源使用

羊舌高爽
2023-12-01

最新的参考apple官网地址:https://developer.apple.com/library/ios/qa/qa1686/_index.html,网页下面有详细的使用方法(ios7以后的)


Table 1  iPhone-only app icon requirements.

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 on devices with retina display

Do not include

Optional but recommended

120x120

Icon-60@2x.png

Home screen on iPhone/iPod Touch with retina display

Required

Required

76x76

Icon-76.png

Home screen on iPad

Optional but recommended

Optional but recommended

152x152

Icon-76@2x.png

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

Icon-Small-40@2x.png

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

Icon-Small@2x.png

Settings on devices with retina display

Recommended if you have a Settings bundle, optional otherwise

Recommended if you have a Settings bundle, optional otherwise


另外还有个启动画面的大小:

https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html

和这里:https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12

Table 5-4  Typical launch image dimensions

Device

Portrait

Landscape

iPhone and iPod touch

320 x 480 pixels

640 x 960 pixels (@2x)

Not supported

iPhone 5 and iPod touch (5th generation)

640 x 1136 pixels (@2x)

Not supported

iPad

768 x 1024 pixels

1536 x 2048 pixels (@2x)

1024 x 768 pixels

2048 x 1536 pixels (@2x)

这个不需要默认文件名称,直接在xcode5中拖过去LaunchImage的编辑画面即可。

这里有介绍Images.xcassets资源的,图文并茂:http://blog.csdn.net/liufan321/article/details/9121241

如果全屏启动的时候你会发现状态栏也在,可能拦到画面会比较丑。那么可以在app启动时把状态栏隐藏掉,点击 工程名字->Info,然后鼠标放到Custom iOS Target Properties其中一行,这时右边会出来一个+号,点击+号新增一行,选择Status bar is initially hidden = YES,这样启动时状态栏就隐藏啦!



 类似资料: