ios基础篇—图标尺寸选择 AppIcon&LaunchImage

常用位置选择

  • 一般情况下图片按照标准格式直接拖入到appIcon或者LaunchImage下会自动进行匹配,但是有时候还是会包出黄色警告,对于开发人员还是需要了解下,下面就把命名规则和常见的位置和尺寸列出方便对照修改

AppIcon

  • 说明:苹果是准备放弃对iphone4的支持了57x57及114x114,在ios7以后在iphone5s、iphone6、iphone6s以及iphone7中图标大小都是一样的120x120,而plus系列则是180x180

    • 需要注意的是在ios9-10针对iPad pro专门有一个83.5pt的2x图标且是必须的,如下图

    ios基础篇—图标尺寸选择 AppIcon&LaunchImage_第1张图片
    这里写图片描述

命名 所在位置 图片尺寸
iphone图标
Icon.png iPhone (ios5/6) 57x57
[email protected] iPhone Retina(ios5/6) 114x114
[email protected] iPhone &ipod touch(ios7/8) 120x120
[email protected] iPhone6 plus & iPhone7 plus (ios8以上) 180x180
ipad图标
Icon-72.png iPad(ios/56) 72x72
[email protected] iPad Retina(ios5/6) 144x144
Icon-76.png iPad2 & iPad mini(ios7/8) 76x76
[email protected] iPad Retina(ios/56) 152x152

LaunchImage

命名 所在位置 图片尺寸
[email protected] 2x 640x960(4/4s)
[email protected] Retina 4 640x1136(5/5s/5c)
[email protected] Retina 4.7 750x1334(6/6s/7)
[email protected] Retina 5.5 1242x2208(6 plus/7 plus)

你可能感兴趣的:(ios开发)