iOS8中iPhone应用程序启动图像的大小和命名 [英] Sizes and Naming of Launch Image for iPhone app in iOS8

查看:153
本文介绍了iOS8中iPhone应用程序启动图像的大小和命名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

启动图片 尺寸/命名 是什么> iOS ?

What are sizes/naming of the launch images used for iPhone app in iOS?

推荐答案


尺寸约定

iPhone3g:320 x 480

iPhone3g : 320 x 480

iPhone4 / 4s:640 x 960

iPhone4/4s : 640 x 960

iPhone5 / 5s:640 x 1136

iPhone5/5s : 640 x 1136

iPhone6:750 x 1334

iPhone6 : 750 x 1334

iPhone 6plus:1242 x 2208

iPhone 6plus : 1242 x 2208


命名约定

对于不想使用资产目录的开发人员,他们需要提供特定的名称来启动图像

iPhone3g:'Default.png'

iPhone3g : 'Default.png'

iPhone4 / 4s:'Default@2x.png'

iPhone4/4s : 'Default@2x.png'

iPhone5 / 5s:'Default-568h@2x.png'

iPhone5/5s : 'Default-568h@2x.png'

iPhone6:'Default-66 7h@2x.png'

iPhone6 : 'Default-667h@2x.png'

iPhone6plus:'Default-736h@3x.png'

iPhone6plus : 'Default-736h@3x.png'

对于使用资产目录的开发人员,他们无需为启动图像指定具体名称

转到 ProjectSetting - >常规 - >在应用程序图标和启动图像下,为启动图像源选择使用资产目录 ,然后拖放其操作系统版本/方向的启动图像

Go to ProjectSetting -> General-> Under 'App Icons and Launch Images', select 'Use Asset Catalog' for 'Launch Image Source', and drag-drop the launch images for their OS version's/Orientations

这篇关于iOS8中iPhone应用程序启动图像的大小和命名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆