xcode iphone 4.7in 和 5.5in 屏幕截图尺寸是多少?

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

what are iphone 4.7in and 5.5in screen shot dimensions?

iphonexcodeapp-store-connect

提问by oabarca

iTunes Connect asks me for screen shots before publishing my app for distribution in the app store. I know that the screen shot dimension for iPhone 4 in is 640x1136, but what are the screen shot dimension for the newer iPhone 4.7 in and 5.5 in?

在发布我的应用程序以在应用程序商店中分发之前,iTunes Connect 要求我提供屏幕截图。我知道 iPhone 4 in 的屏幕截图尺寸是 640x1136,但是较新的 iPhone 4.7 in 和 5.5 in 的屏幕截图尺寸是多少?

回答by Sverrisson

Updated for the new iPhones 11, 11 Pro, 11 Pro Max, X, X, X Max and X.

针对新 iPhone 11、11 Pro、11 Pro Max、X、X、X Max 和 X 进行了更新。

Size for iPhone 11 Pro Maxwith @3xscaling, coordinate space: 414 x 896points and 1242 x 2688pixels, 458 ppi, device physical size is 3.06 x 6.22 in or 77.8 x 158.0 mm. 6.5" Super Retina XDR display.

iPhone 11 Pro Max尺寸,@3x缩放,坐标空间:414 x 896点和1242 x 2688像素,458 ppi,设备物理尺寸为 3.06 x 6.22 英寸或 77.8 x 158.0 毫米。6.5" 超级视网膜 XDR 显示屏。

Size for iPhone 11 Prowith @3xscaling, coordinate space: 375 x 812points and 1125 x 2436pixels, 458 ppi, device physical size is 2.81 x 5.67 in or 71.4 x 144.0 mm. 5.8" Super Retina XDR display.

iPhone 11 Pro尺寸,@3x缩放,坐标空间:375 x 812点和1125 x 2436像素,458 ppi,设备物理尺寸为 2.81 x 5.67 英寸或 71.4 x 144.0 毫米。5.8 英寸超级视网膜 XDR 显示屏。

Size for iPhone 11with @2xscaling, coordinate space: 414 x 896points and 828 x 1792pixels, 326 ppi, device physical size is 2.98 x 5.94 in or 75.7 x 150.9 mm. 6.1" Liquid Retina HD display.

iPhone 11尺寸,@2x缩放,坐标空间:414 x 896点和828 x 1792像素,326 ppi,设备物理尺寸为 2.98 x 5.94 英寸或 75.7 x 150.9 毫米。6.1 英寸 Liquid 视网膜高清显示屏。

Size for iPhone X Maxwith @3xscaling (Apple name: Super Retina HD 6.5 display"), coordinate space: 414 x 896points and 1242 x 2688pixels, 458 ppi, device physical size is 3.05 x 6.20 in or 77.4 x 157.5 mm.

大小为iPhone X最大值@ 3×缩放(苹果名:超级视网膜HD 6.5显示”),坐标空间:414 X 896点和1242 X 2688个像素,458个PPI,设备的物理尺寸是3.05 X 6.20或77.4 X157.5毫米.

let screen = UIScreen.main
print("Screen bounds: \(screen.bounds), Screen resolution: \(screen.nativeBounds), scale: \(screen.scale)")
//iPhone X Max Screen bounds: (0.0, 0.0, 414.0, 896.0), Screen resolution: (0.0, 0.0, 1242.0, 2688.0), scale: 3.0

Size for iPhone Xwith @2xscaling (Apple name: Super Retina HD 6.1" display), coordinate space: 414 x 896points and 828 x 1792pixels, 326 ppi, device physical size is 2.98 x 5.94 in or 75.7 x 150.9 mm.

大小为iPhone X@ 2X缩放(苹果名:超级视网膜HD 6.1"显示器),坐标空间:414 X 896点和828 X 1792像素,326 PPI,设备的物理尺寸是在2.98 X 5.94或75.7 X150.9毫米。

let screen = UIScreen.main
print("Screen bounds: \(screen.bounds), Screen resolution: \(screen.nativeBounds), scale: \(screen.scale)")
//iPhone X Screen bounds: (0.0, 0.0, 414.0, 896.0), Screen resolution: (0.0, 0.0, 828.0, 1792.0), scale: 2.0

Size for iPhone Xand iPhone Xwith @3xscaling (Apple name: Super Retina HD 5.8" display), coordinate space: 375 x 812points and 1125 x 2436pixels, 458 ppi, device physical size is 2.79 x 5.65 in or 70.9 x 143.6 mm.

尺寸为iPhone XiPhone X@ 3倍缩放(苹果名称:超级视网膜高清5.8"显示屏),坐标空间:375 X 812点和1125 X 2436个像素,458 PPI,设备的物理尺寸为2.79 X 5.65或70.9 X 143.6 毫米。

let screen = UIScreen.main
print("Screen bounds: \(screen.bounds), Screen resolution: \(screen.nativeBounds), scale: \(screen.scale)")
//iPhone X and X Screen bounds: (0.0, 0.0, 375.0, 812.0), Screen resolution: (0.0, 0.0, 1125.0, 2436.0), scale: 3.0

Size for iPhone 8 Plus(6, 6s, 7 and 8 Plus) with @3x scaling (Apple name: Retina HD 5.5), Coordinate space: 414 x 736points and 1242 x 2208pixels, 401 ppi, screen physical size is 2.7 x 4.8 in or 68 x 122 mm.

尺寸为iPhone 8加(6,6秒,7和8加)与@ 3倍缩放(苹果名称:视网膜HD 5.5),坐标空间:414 X 736点和1242×2208个像素,401 PPI,屏幕物理尺寸是2.7× 4.8 英寸或68 x 122 毫米

Size for iPhone 8(6, 6s and iPhone 7) with @2x scaling (Apple name: Retina HD 4.7), Coordinate space: 375 x 667points and 750 x 1334pixels, 326 ppi, screen physical size is 2.3 x 4.1 in or 58 x 104 mm.

大小为iPhone 8与@ 2X缩放(6,6S和iPhone 7)(苹果名:视网膜HD 4.7),坐标空间:375 X 667点和750 X 1334像素,326 PPI,屏幕的物理尺寸为2.3英寸×4.1或58 x 104 毫米

And iPhone 5for comparison is 640 x 1136, iPhone 4640 x 960.

iPhone 5的对比是640×1136,iPhone 4的640×960。

Note:To build Apps that utilize the full screen size of the new phones add LaunchImages in the sizes: 1242 x 2208, 2208 x 1242and 750 x 1334. The size in simulator will be different before these LaunchImages are added, because older Apps are scaled.

注意:要构建利用新手机全屏尺寸的应用程序,请添加以下尺寸的 LaunchImages:1242 x 22082208 x 1242750 x 1334。在添加这些 LaunchImages 之前,模拟器中的大小会有所不同,因为旧的应用程序被缩放。

Comparing iPhone 6 and 6 Plus

比较 iPhone 6 和 6 Plus

回答by Mixaz

You may find this info useful too, taken from Andy Orsow's article (thank you buddy!) What are the iOS screen sizes?:

您可能会发现此信息也很有用,摘自 Andy Orsow 的文章(谢谢好友!)iOS 屏幕尺寸是多少?



The sizes below include the iOS status bar area, so be sure to leave room for that in your designs. See the bottom of this article for status bar information.

下面的尺寸包括 iOS 状态栏区域,所以一定要在你的设计中留出空间。有关状态栏信息,请参阅本文底部。

Remember, mobile projects can scroll, so the screen heights listed below are simply minimum heights for your designs.

请记住,移动项目可以滚动,因此下面列出的屏幕高度只是您设计的最小高度。

Phones

电话

iPhone 6 Plus
Portrait: 1242 x 2208 (Launch Image:iPhone Portrait iOS8 – Retina HD 5.5)
Landscape: 2208 x 1242 (Phone Landscape iOS8 – Retina HD 5.5)

iPhone 6 Plus
人像:1242 x 2208(Launch Image:iPhone 人像 iOS8 – Retina HD 5.5)
风景:2208 x 1242(手机风景 iOS8 – Retina HD 5.5)

iPhone 6
Portrait: 750 x 1334 (iPhone Portrait iOS8 – Retina HD 4.7)
Landscape: 1334 x 750

iPhone 6
纵向:750 x 1334(iPhone 纵向 iOS8 – Retina HD 4.7)
横向:1334 x 750

iPhone 5, 5S, 5C
Portrait: 640 x 1136 ("iPhone Portrait iOS5,6 – Retina 4" and "iPhone Portrait iOS7,8 – Retina 4")
Landscape: 1136 x 640

iPhone
5、5S 、5C纵向:640 x 1136(“iPhone Portrait iOS5,6 – Retina 4”和“iPhone Portrait iOS7,8 – Retina 4”)
横向:1136 x 640

iPhone 4, 4S
Portrait: 640 x 960 (iPhone Portrait iOS5,6 – 2x and iPhone Portrait iOS7,8 – 2x) Landscape: 960 x 640

iPhone
4、4S 人像:640 x 960(iPhone 人像 iOS5,6 – 2x 和 iPhone 人像 iOS7,8 – 2x)风景:960 x 640

iPhone 1, 2, and 3
Portrait: 320 x 480 (iPhone Portrait iOS5,6 – 1x)
Landscape: not supported

iPhone 1、2 和 3
纵向:320 x 480(iPhone 纵向 iOS5、6 – 1x)
横向:不支持

Tablets

平板电脑

iPad Air / Retina iPad
Portrait: 1536 x 2048 (iPad Portrait iOS 7-9 - 2x)
Landscape: 2048 x 1536 (iPad Landscape iOS 7-9 - 2x)

iPad Air / Retina iPad
纵向:1536 x 2048(iPad 纵向 iOS 7-9 - 2x)
横向:2048 x 1536(iPad 横向 iOS 7-9 - 2x)

iPad Mini
Portrait: 1536 x 2048 (iPad Portrait iOS 7-9 - 2x)
Landscape: 2048 x 1536 (iPad Landscape iOS 7-9 - 2x)

iPad Mini
纵向:1536 x 2048(iPad 纵向 iOS 7-9 - 2x)
横向:2048 x 1536(iPad 横向 iOS 7-9 - 2x)

iPad - Non Retina
Portrait: 768 x 1024 (iPad Portrait iOS 7-9 - 1x) iOS 5,6?
Landscape: 1024 x 768 (iPad Landscape iOS 7-9 - 1x) iOS 5,6?

iPad - 非视网膜
人像:768 x 1024(iPad 人像 iOS 7-9 - 1x)iOS 5,6?
横向:1024 x 768(iPad 横向 iOS 7-9 - 1x)iOS 5,6?

Wearables

可穿戴设备

Apple Watch
42mm: 312x390px
38mm: 272x340px

Apple Watch
42 毫米:312x390 像素
38 毫米:272x340 像素

Status Bar Info

状态栏信息

InVision will overlay a status bar on your designs for you, so including it in your design is up to you. However, you'll want to make sure you account for the status bar at the top of your screen.

InVision 将为您在您的设计上覆盖一个状态栏,因此将其包含在您的设计中取决于您。但是,您需要确保考虑到屏幕顶部的状态栏。

At the top of your design, leave room for:

在设计的顶部,留出空间:

iPhone 6 Plus:60px height

iPhone 6 Plus:60px 高度

iPhone 4–6:40px height

iPhone 4-6:40px 高度

iPhone - Non retina:20px height

iPhone - 非视网膜:20px 高度

Retina iPads:40px height

Retina iPad:40px 高度

Non-retina iPads:20px height

非视网膜 iPad:20px 高度

If you don't want to include the status bar in your designs, check the box for “My design starts below the status bar” in your project options.

如果您不想在您的设计中包含状态栏,请在您的项目选项中选中“我的设计从状态栏下方开始”框。



EDITED:I had to add Launch Images to my app, and I was not able to find info how simulators correspond to Apple's image names in Launch Images assets. I found such info at http://www.ios-developer.net/iphone-ipad-programmer/icons_and_graphics/default-imageand added here.

编辑:我必须将 Launch Images 添加到我的应用程序中,但我无法找到模拟器如何与 Launch Images 资产中 Apple 的图像名称相对应的信息。我在http://www.ios-developer.net/iphone-ipad-programmer/icons_and_graphics/default-image找到了这样的信息并添加到这里。

回答by seizethecarp

This should be a comment to Mixaz's answer but I don't have the rep for that yet. Interestingly enough, from Full resolution screenshots for Iphone 6 and 6+

这应该是对 Mixaz 回答的评论,但我还没有代表。有趣的是,来自Iphone 6 和 6+ 的全分辨率屏幕截图

I just figured this out. In Settings > Display & Brightness, you have to have the setting of Standard. I had my device set to zoomed. With "Zoomed" you get 640x1136 screen grabs. With "Standard", you get 750x1334. Not obvious to me! – Chris Prince Nov 18 '15 at 5:03

我只是想通了这一点。在设置 > 显示和亮度中,您必须具有标准设置。我将我的设备设置为缩放。使用“Zoomed”,您可以获得 640x1136 的屏幕抓取。使用“标准”,您将获得 750x1334。对我来说不明显!– 克里斯·普林斯 2015 年 11 月 18 日 5:03