我想做的是在 iTunes connect 上上传应用程序的屏幕截图,因此我从所有 iPhone 设备的模拟器中获取屏幕截图。
当我尝试在 iTunes connect 上上传这些屏幕截图时,出现错误The dimensions of one or more screenshots are wrong
.
所以我验证每个屏幕截图的尺寸如下
- 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
所以问题是为什么模拟器截图是@1x而不是@2x。
我使用的是 Xcode 7.1。
预先感谢您的任何帮助。
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.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)