简体   繁体   English

支持iPhone 4S,5、5C / S,6和6+的图像尺寸

[英]Image Sizes for Supporting iPhone 4S,5,5C/S,6 and 6+

I want to support a variety of devices from iPhone 4S to iPhone 6+ . 我想支持从iPhone 4SiPhone 6+的各种设备。 Previously, when adding supporting for iPhone 5, we followed the following steps. 以前,在添加对iPhone 5的支持时,我们遵循以下步骤。

  1. Add the launch Default-568h@2x.png 添加启动Default-568h@2x.png
  2. Use the same @2x images (640x960) which are resized automatically for iPhone 5. 使用相同的@ 2x图像(640x960),这些图像会为iPhone 5自动调整大小。

Now, iPhone 6 and 6+ are introduced with varying sizes and it is written on most blogs that we will use @2x for iPhone 6 and @3x identifier for iPhone 6+. 现在, iPhone 66+的尺寸有所不同,并且在大多数博客中都写到了,我们将在iPhone 6上使用@ 2x ,在iPhone 6+上使用@ 3x标识符。 It is also written that: 还写道:

  1. iPhone 6+ (@3x) images will have resolution of 1242x2208 (I am using portrait mode), and it is automatically downsized. iPhone 6+(@ 3x)图像的分辨率为1242x2208 (我正在使用人像模式),并且会自动缩小尺寸。
  2. iPhone 6 will use @2x images.However,I am not sure what the size of these images should be. iPhone 6将使用@ 2x图像。但是,我不确定这些图像的大小。 Should they be 640x960 or 640x1136 or 750 x 1334 . 它们应该是640x960还是640x1136750 x 1334 In case of using the first two sizes, won't the images be distorted? 如果使用前两种尺寸,图像是否会失真?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM