ios - Xcode 6 - 通用图像支持

标签 ios xcode image xcode6 xcasset

我想知道新的 XCode 6 和 iPhone 6 以及 iPhone 6 plus 支持需要哪些图像尺寸。

所以如果我现在有一个全角图像,那就是

640 x 80 pixel

适用于 iPhone 4s/5 系列。所以用“@2x”。对于 iPhone 6 plus,我还需要“@3x”。那就是

1242 x 80 pixel

?

更新:

我的目标是拥有一张在每部 iphone 或 ipad 上看起来都不错的全宽图像(任何尺寸类别)。

最佳答案

假设您的640 x 80 图像是@2x@3x 图像大小将是960 x 120 (960 = 640/2 * 3)

关于ios - Xcode 6 - 通用图像支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29212966/

相关文章:

ios - Swift - 获取国家列表

ios - 错误代码 : Could not load the "image.png" image referenced from a nib in the bundle with identifier "com.bundle.identifier"

ios - 将 2D 形状添加到 SceneKit

ios - UIPageViewController自定义过渡样式

iphone - 即使设置了委托(delegate),UITableView 也没有响应 didSelectRowAtIndexPath

iphone - 从 iOS/iPhone 应用程序对 php 脚本进行身份验证

android - 压缩图像和调整图像大小有什么区别?安卓

iphone - 从 ios sdk 中的文档目录加载图像

javascript - 如何将 HTML block 动态添加到页面中?

ios - 如何在 SpriteKit 中高效地画一条线