Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我测试了 iPhone 6,似乎当我设置 1x 2x Retina4 2x 和 3x 图像时,iPhone 6 使用 2x 图像,即 640 x 960 像素图像。
如何为需要 750×1334 像素的 iPhone 6 设置图像?
1x image = 640 x 960 pixel image 2x image = 750 x 1334 pixel image 3x image = 1242 x 2208 pixel image
我认为解决方案是将您的 2x 图像更新为 750x1334 像素,因为 iPhone 6 将使用 2x 图像。
来自iOS 人机界面指南 https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/Iconography.html#//apple_ref/doc/uid/TP40006556-CH59-SW1
支持视网膜显示。确保为应用中的所有艺术品和图形提供高分辨率资源。特别是,为 iPhone 6 Plus 提供@3x 资源,为所有其他高分辨率 iOS 设备提供@2x 资源。