iOS应用图标及尺寸
2016-02-18 11:40
302 查看
Icon and Image Sizes
Every app needs an app icon and a launch file or image. In addition, some apps need custom icons to represent app-specific content, functions, or modes in navigation bars, toolbars, tab bars, and other areas. Table 45-1 lists the sizes required for these custom icons and images.Asset | iPhone 6s Plus and iPhone 6 Plus (@3x) | iPhone 6s, iPhone 6, and iPhone 5 (@2x) | iPhone 4s (@2x) | iPad and iPad mini (@2x) | iPad 2 and iPad mini (@1x) | iPad Pro (@2x) |
---|---|---|---|---|---|---|
App icon (requiredfor all apps) | 180 x 180 | 120 x 120 | 120 x 120 | 152 x 152 | 76 x 76 | 167 x 167 |
App icon for the App Store (requiredfor all apps) | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 |
Launch file or image (requiredfor all apps) | Use a launch file (see Launch Files) | For iPhone 6s and iPhone 6, use a launch file (see Launch Files) For iPhone 5, 640 x 1136 | 640 x 960 | 1536 x 2048 (portrait) 2048 x 1536 (landscape) | 768 x 1024 (portrait) 1024 x 768 (landscape) | 2048 x 2732 (portrait) 2732 x 2048 (landscape) |
Spotlight search results icon (recommended) | 180 x 180 | For iPhone 6s and iPhone 6, use 120 x 120 For iPhone 5, use 80 x 80 | 80 x 80 | 120 x 120 | 60 x 60 | 120 x 120 |
Settings icon (recommended) | 87 x 87 | 58 x 58 | 58 x 58 | 58 x 58 | 29 x 29 | 58 x 58 |
Toolbar and navigation bar icon (optional) | About 66 x 66 | About 44 x 44 | About 44 x 44 | About 44 x 44 | About 22 x 22 | About 44 x 44 |
Tab bar icon (optional) | About 75 x 75 (maximum: 144 x 96) | About 50 x 50 (maximum: 96 x 64) | About 50 x 50 (maximum: 96 x 64) | About 50 x 50 (maximum: 96 x 64) | About 25 x 25 (maximum: 48 x 32) | About 50 x 50 (maximum: 96 x 64) |
Web clip icon (recommended for web apps and websites) | 180 x 180 | 120 x 120 | 120 x 120 | 152 x 152 | 76 x 76 | 167 x 167 |
If you need to create custom icons for Home screen quick actions, see Home Screen Quick Actions for details.
With the exception of the App Store icon—which must be named
iTunesArtwork—you can name your icons anything you want. Use image asset entries in your Xcode project for your app’s icon files. To add icons, assign the corresponding image files to the image assets of your project. At build time, Xcode adds the appropriate keys to your app’s
Info.plistfile and places the images in your app bundle. iOS chooses an icon based on whether its size is appropriate for the intended usage. To learn more about asset catalogs, see Asset Catalog Help.
For all images and icons, the PNG format is recommended. You should avoid using interlaced PNGs.
The standard bit depth for icons and images is 24 bits.
参考:https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1
相关文章推荐
- iOS 页面间几种传值方式(属性,代理,block,单例,通知)
- iOS加密
- iOS开发:使用Block在两个界面之间传值(Block高级用法:Block传值)
- 需求 - 18 - “点赞动画”
- iOS通过 JSPatch实现 app的热更新
- iOS 实现应用之间的跳转
- iOS 52个技巧学习心得笔记 第一章 熟悉OC
- iOS环信3.0集成 (三)单聊集成
- 常用iOS第三方库以及XCode插件介绍
- iOS之OSX EI Capitan打包二进制文件提交审核失败
- iOS从plist文件里面读取内容
- iOS-代码提示如NS_AVAILABLE_IOS(4_2)的解释
- Metal-IOS-通用GPU计算:Data-Parallel Compute Processing: Compute Command Encoder
- iOS中本地化字符串
- Mac环境下svn的使用
- 分享 iOS
- 学习IOS之oc第一步基础必备
- ios 判断字符串是否包含指定字符串
- iOS ARC的使用注意事项
- 转 iOS宏定义的使用与规范