启动页
设置启动页
- 在 Assets.xcassets 中添加Launch Image 文件夹
- 将app的启动页路径设置成 Launch Image 文件夹
- 将 LaunchScreen.storyboard 中 的 Use as Launch Screen 取消勾选
- 去除多余的启动页类型,保留最基本的四个尺寸
启动页尺寸、命名规范及对应图标位置
- 640 x 1136 —— Default-568h@2x.png —— iPhone Portrait iOS 7-9 Retina 4
- 640 x 960 —— LaunchImage-640-960@2x.png —— iPhone Portrait iOS 7-9 2x
- 750 x 1334 —— LaunchImage-700-568h@2x.png —— iPhone Portrait iOS 8,9 Retina HD 4.7”
- 1242 x 2208 —— LaunchImage-800-Portrait-736h@3x.png —— iPhone Portrait iOS 8,9 Retina HD 5.5”
app图标
app图标尺寸、命名规范及对应图标位置
- 40 x 40 —— icon-20@2x.png —— iPhone Notification iOS 7-10 20pt 2x
- 60 x 60 —— icon-20@3x.png —— iPhone Notification iOS 7-10 20pt 3x
- 80 x 80 —— icon-40@2x.png —— iPhone Spotlight iOS 7-10 40pt 2x
- 120 x 120 —— icon-40@3x.png —— iPhone Spotlight iOS 7-10 40pt 3x
- 120 x 120 —— icon-60@2x.png —— iPhone App iOS 7-10 60pt 2x
- 180 x 180 —— icon-60@3x.png —— iPhone App iOS 7-10 60pt 3x
- 58 x 58 —— icon-Small@2x.png —— iPhone Spotlight - iOS 5,6 Settings - iOS 5-10 29pt 2x
- 87 x 87 —— icon-Small@3x.png ——iPhone Spotlight - iOS 5,6 Settings - iOS 5-10 29pt 3x