ios Iphone 6 和 6+ 的全分辨率屏幕截图
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25756863/
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
Full resolution screenshots for Iphone 6 and 6+
提问by rowdyruckus
I'm trying to submit a new application to the AppStore but now Apple requires screenshots for iPhone 4.7-Inch and 5.5-Inch. What is the best method to make these screenshot with the full resolution without the device? Thanks for your help!
我正在尝试向 AppStore 提交一个新应用程序,但现在 Apple 要求 iPhone 4.7 英寸和 5.5 英寸的屏幕截图。在没有设备的情况下以全分辨率制作这些屏幕截图的最佳方法是什么?谢谢你的帮助!
回答by Austen Chongpison
In Xcode 6 GM run your app with the iPhone 6 or iPhone 6 Plus in the simulator and then hit cmd-s. This will save a screenshot to your computer.
在 Xcode 6 GM 中,在模拟器中使用 iPhone 6 或 iPhone 6 Plus 运行您的应用程序,然后点击 cmd-s。这会将屏幕截图保存到您的计算机。
iPhone 6 / iPhone 6 Plus as seen in Xcode 6 GM:
iPhone 6 / iPhone 6 Plus 如 Xcode 6 GM 所示:
How to save a screenshot in the simulator:
如何在模拟器中保存屏幕截图:
EDIT:
编辑:
Make sure Window => Scale is set to 100% in the simulator, else you have the correct device, but end up with the wrong dimensions in the screenshot. – Jos
确保模拟器中的 Window => Scale 设置为 100%,否则您拥有正确的设备,但最终屏幕截图中的尺寸错误。– 乔斯
回答by powers
For anybody looking for the resolution of the image to upload (if you want to create some fancy photoshop screenshots), they are:
对于任何正在寻找要上传的图像分辨率的人(如果您想创建一些精美的 Photoshop 屏幕截图),它们是:
- iPhone 6: 750?×?1334
- iPhone 6 Plus: 1242?×?2208
- iPhone 6:750?×?1334
- iPhone 6 Plus:1242?×?2208
[Edit] Good reference guide here: http://www.paintcodeapp.com/news/iphone-6-screens-demystified(talks about resolutions and downsampling of the iPhone 6+).
[编辑] 这里有很好的参考指南:http: //www.paintcodeapp.com/news/iphone-6-screens-demystified(讨论 iPhone 6+ 的分辨率和下采样)。
回答by Zubli Quzaini
UPDATE 2018
2018 年更新
- Open Debug. Then, unchecked "Optimized Rendering for Window Size"
- 打开调试。然后,取消选中“针对窗口大小的优化渲染”
You'll get full resolution of the image. Hope this will help!
您将获得图像的完整分辨率。希望这会有所帮助!
回答by Dharmbir Singh
For iPhone 6 Plus
适用于 iPhone 6 Plus
Screen bounds: {{0, 0}, {414, 736}}, Screen resolution: <UIScreen: 0x7f97fad330b0; bounds = {{0, 0}, {414, 736}};
mode = <UIScreenMode: 0x7f97fae1ce00; size = 1242.000000 x 2208.000000>>, scale: 3.000000, nativeScale: 3.000000
**For iPhone 6**
Screen bounds: {{0, 0}, {375, 667}}, Screen resolution: <UIScreen: 0x7fa01b5182d0; bounds = {{0, 0}, {375, 667}};
mode = <UIScreenMode: 0x7fa01b711760; size = 750.000000 x 1334.000000>>, scale: 2.000000, nativeScale: 2.000000
回答by Mayank Patel
Download Xcode 6 GM from Apple https://developer.apple.com/xcode/downloads/
从 Apple https://developer.apple.com/xcode/downloads/下载 Xcode 6 GM