iPhone模拟器屏幕截图尺寸不正确 [英] iPhone simulator screenshot is not in proper dimension
问题描述
我想做的是在iTunes connect上上传应用程序的屏幕截图,所以我从模拟器中获取所有iPhone设备的屏幕截图.
What I want to do is to upload screenshot of app on iTunes connect, so I take the screenshot from the simulator for all iPhone devices.
当我尝试在iTunes connect上上传这些屏幕截图时,出现错误The dimensions of one or more screenshots are wrong
.
When I tried to upload these screenshots on iTunes connect, I got the error The dimensions of one or more screenshots are wrong
.
所以我验证每个屏幕截图的尺寸,如下所示
so I verify the dimension of each screenshot which are as follows
- iPhone 4-> 320 x 480
- iPhone 5-> 320 x 568
- iPhone 6-> 375 x 667
- iPhone 6+-> 621 x 1104
此尺寸应为
- iPhone 4-> 640 x 960
- iPhone 5-> 640 x 1136
- iPhone 6-> 750 x 1334
- iPhone 6+-> 1242 x 2208
所以问题是为什么模拟器屏幕截图不是@ 2x而是@ 1x.
so the question is why the simulator screenshot coming in @1x not @2x.
我正在使用Xcode 7.1.
I am using Xcode 7.1.
在此先感谢您的帮助.
推荐答案
如果要将模拟器缩小50%,并且仍然以适当的尺寸获取屏幕截图,请在模拟器的调试菜单中禁用优化窗口缩放渲染" .
If you want to scale simulator down, say 50%, and still get screenshots in proper dimensions, disable "optimize rendering for window scale" in debug menu of simulator.
这篇关于iPhone模拟器屏幕截图尺寸不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!