[2015-03-08]IOS App Ic…

来源:互联网 发布:22端口ssh爆破工具 编辑:程序博客网 时间:2024/05/21 14:51

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


 

Table1  iPhone-only app iconrequirements.

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 deviceswith retina display

Do not include

Optional but recommended

120x120

Icon-60@2x.png

Home screen on iPhone/iPodTouch 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 withretina 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 withretina display

Optional but recommended

Optional but recommended

29x29

Icon-Small.png

Settings

Recommended if you have aSettings bundle, optional otherwise

Recommended if you have aSettings bundle, optional otherwise

58x58

Icon-Small@2x.png

Settings on devices withretina display

Recommended if you have aSettings bundle, optional otherwise

Recommended if you have aSettings 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

 

Table5-4  Typical launchimage dimensions

Device

Portrait

Landscape

iPhone and iPod touch

320 x 480 pixels

640 x 960 pixels(@2x)

Not supported

iPhone 5 and iPod touch (5thgeneration)

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 TargetProperties其中一行,这时右边会出来一个+号,点击+号新增一行,选择Status bar is initiallyhidden = YES,这样启动时状态栏就隐藏啦!

0 0
原创粉丝点击