xcode images.xcassets 为 iOS8 启动图像大小?Retina HD5.5、Retina HD 4.7 和 Retina 4

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25790370/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 05:31:50  来源:igfitidea点击:

images.xcassets Launchimage sizes for iOS8? Retina HD5.5, Retina HD 4.7 and Retina 4

xcodeios8xcasset

提问by Mike Zriel

WHat are the LaunchImages Sizes for IOS8?

IOS8 的 LaunchImages 大小是多少?

What is Retina HD5.5, Retina HD 4.7 and Retina 4 ? sizes?

什么是 Retina HD5.5、Retina HD 4.7 和 Retina 4?尺寸?

and at what DPI ?? 72 I presume?

什么 DPI ?72 我猜?

A link to apple docs would be great as I cannot seem to find it.

苹果文档的链接会很棒,因为我似乎找不到它。

回答by blueHula

From the iOS Human Interface Guidelines:

来自iOS 人机界面指南

For iPhone 6:

对于 iPhone 6:

750 x 1334 (@2x) for portrait

纵向 750 x 1334 (@2x)

1334 x 750 (@2x) for landscape

1334 x 750 (@2x) 横向

For iPhone 6 Plus:

对于 iPhone 6 Plus:

1242 x 2208 (@3x) for portrait

纵向 1242 x 2208 (@3x)

2208 x 1242 (@3x) for landscape

2208 x 1242 (@3x) 横向

Retina 4is the same R4 asset in previous versions of Xcode to support @2x graphics on the 4 inch screen

Retina 4与之前版本 Xcode 中的 R4 资产相同,用于在 4 英寸屏幕上支持 @2x 图形

640 x 1136 for portrait (ex. Default–[email protected])

640 x 1136 纵向(例如默认–[email protected]

All images at 72 dpi

72 dpi 的所有图像