xcode iPhone 6 和 6 plus 的屏幕尺寸(以像素为单位)?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25758414/
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:30:39  来源:igfitidea点击:

iPhone 6 and 6 plus screen sizes in pixels?

iosiphonexcode

提问by Rohit

What are iPhone 6and 6 plusscreen sizes in pixels ?

什么是像素iPhone 66 plus屏幕尺寸?

Need them for a application modification that is almost ready.

需要它们进行几乎准备好的应用程序修改。

回答by William George

If you are upgrading your application to support iPhone6and iPhone6+and you do not wish for your application to scale on these devices you need to update your launch images to include:

如果您正在升级您的应用程序以支持iPhone6并且iPhone6+您不希望您的应用程序在这些设备上扩展,您需要更新您的启动图像以包括:

iPhone Portrait:

iPhone 人像:

  • Retina HD 5.5 - 1242x2208px
  • Retina HD 4.7 - 750x1334px
  • 视网膜高清 5.5 - 1242x2208px
  • 视网膜高清 4.7 - 750x1334px

and or:

和或:

iPhone Landscape

iPhone 风景

  • Retina HD 5.5 - 2208x1242px
  • 视网膜高清 5.5 - 2208x1242px

Please note that although the screen size for the iPhone6+ is 1080x1920, it is using downscaled renders: https://twitter.com/stroughtonsmith/status/509438167280549888

请注意,虽然 iPhone6+ 的屏幕尺寸为 1080x1920,但它使用缩小的渲染:https://twitter.com/stroughtonsmith/status/509438167280549888

enter image description here

在此处输入图片说明

回答by Rohit

iphone 6 
750x1334 pixels

iphone 6 plus
1080x1920 pixels

回答by Satish Azad

For 4.7-inch iPhone 6 features a 1334 x 750 display For 5.5-inch iPhone 6 Plus features a 1920 x 1080 display

4.7 英寸 iPhone 6 配备 1334 x 750 显示屏 5.5 英寸 iPhone 6 Plus 配备 1920 x 1080 显示屏

回答by Guru

The iPhone 6 has a 4.7-inch LED back-lit display with a 1334 x 750 resolution - it's Apple's new "Retina HD" offering. That means you get a pixel density of 326ppi - the same as the iPhone 5S. It also pales in comparison to the iPhone 6 Plus, with a full HD, 1920 x 1080 5.5-inch screen with a 401ppi display.

iPhone 6 配备 4.7 英寸 LED 背光显示屏,分辨率为 1334 x 750 - 这是 Apple 的全新“Retina HD”产品。这意味着你的像素密度为 326ppi——与 iPhone 5S 相同。与配备全高清 1920 x 1080 5.5 英寸屏幕和 401ppi 显示屏的 iPhone 6 Plus 相比,它也相形见绌。

回答by Viper

iPhone 5s 640 by 1136 and aspect Ratio - 1.77 iPhone 6 750 by 1334 and aspect Ratio - 1.77 iPhone 6 plus 1080 by 1920 and aspect Ratio - 1.77

iPhone 5s 640 x 1136 和纵横比 - 1.77 iPhone 6 750 x 1334 和纵横比 - 1.77 iPhone 6 plus 1080 by 1920 和纵横比 - 1.77

回答by David Eldridge

For what it's worth, the iPhone 6 and 6 Plus (as well as the 6s, 7, and 8 product lines) have a definite number of pixels that are listed many times among the answers. However, for other purposes (like standard web dev), it behaves as if its sizes are thus (presuming portrait orientation):

就其价值而言,iPhone 6 和 6 Plus(以及 6s、7 和 8 产品线)具有一定数量的像素,这些像素在答案中多次列出。然而,对于其他目的(如标准 Web 开发),它的行为就像它的大小一样(假设纵向):

  • 375px × 667px // iPhone 6, 6s, 7, and 8
  • 414px × 736px // iPhone 6 Plus, 6s Plus, 7 Plus, and 8 Plus
  • 375px × 667px // iPhone 6、6s、7、8
  • 414px × 736px // iPhone 6 Plus、6s Plus、7 Plus 和 8 Plus

These sizes are referred to in different places by the names "points" and "reference pixels". I prefer "reference pixels" only to avoid confusion with printers'points (72 or 72.27 per inch) generally (though not exclusively) used to measure typography.

这些尺寸在不同的地方被称为“点”和“参考像素”。我更喜欢“参考像素”只是为了避免与通常(尽管不是专门)用于测量排版的打印机点数(每英寸 72 或 72.27 点)混淆。

For instance, when you are determining breakpoints, or layouts, it is the above numbers (reference pixels) that you will want to work in.

例如,当您确定断点或布局时,您需要使用上述数字(参考像素)。

You can find more on the Apple Developers's site.

您可以在Apple Developers 的网站上找到更多信息。

回答by Vaibhav Saran

iPhone 6display has 1134x750presolution while iPhone 6Plus has 1920x1080pWhile iPhone 5display has 1136x640.

iPhone 6显示屏具有1134x750p分辨率,而iPhone 6Plus具有分辨率,1920x1080piPhone 5显示屏具有1136x640.

Source:

来源:

http://timesofindia.indiatimes.com/tech/tech-news/apple-iphone-6-iwatch/newsliveblog/42115338.cms?utm_source=facebook.com&utm_medium=referral&utm_campaign=TOI

http://timesofindia.indiatimes.com/tech/tech-news/apple-iphone-6-iwatch/newsliveblog/42115338.cms?utm_source=facebook.com&utm_medium=referral&utm_campaign=TOI

enter image description here

在此处输入图片说明

回答by Jogendra.Com

The iPhone 6 represents the biggest screen size boost in iPhone history. The larger size means more pixels for apps to work with. The iPhone 5 line had a 640 by 1136screen resolution. The new phones boost that to 750 by 1334 and 1080 by 1920, respectively.

iPhone 6 代表了 iPhone 历史上最大的屏幕尺寸提升。更大的尺寸意味着更多的像素可供应用程序使用。iPhone 5 系列有一个640 by 1136屏幕分辨率。新手机750 by 1334 and 1080 by 1920分别将其提升到。

enter image description here

在此处输入图片说明

For more details find on Apple's official Site

欲了解更多详情,请访问Apple 官方网站

回答by meim

I think the ratio is the same as iPhone 5/ 5c 5s, so if your app runs on iPhone 5 / 5c 5s properly, it wouldn't be any problem to run on iPhone 6 / 6 Plus

我觉得这个比例和iPhone 5/ 5c 5s是一样的,所以如果你的app在iPhone 5/5c 5s上运行正常,在iPhone 6/6 Plus上运行应该没有问题

回答by Dipen Panchasara

Resolutions of New iPhone 6 and 6+ are as follow

新 iPhone 6 和 6+ 的分辨率如下

iPhone6 - 750(W) x 1334(H) pixels, 4.7 inches

iPhone6 - 750(W) x 1334(H) pixels, 4.7 inches

iPhone6 plus - 1080(W) x 1920(H) pixels, 5.5 inches

iPhone6 plus - 1080(W) x 1920(H) pixels, 5.5 inches