My iPad PRO simulator is not scaling from iPad AIR simulator, I have the launch screen storyboard. So I took a screenshot from the iPad PRO simulator and tried to upload it onto screenshots in iTunes Connect but it gave me a warning that the size was wrong. Why is the iPad PRO simulator use the incorrect size for iTunes Connect?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you need a full-resolution screenshot, be sure to first turn off the 'Optimize Rendering for Window Scale' option in the Debug menu. When that is on, the framebuffer (from which the screenshot is dumped) matches the pixel dimensions of the scaled window.
回答2:
In Xcode 9.1 you no longer have a simple scale option in the simulator. This means that on many devices the full screen view will have much of the simulator off screen thus blocking app controls - like the tabbar - making it impossible to select tabs. To override this, after switching off 'Optimize Rendering ...' above, unclick 'Show Device Bezels'. You can then use the simulator while re-selecting the 'Show Device Bezels' for the screenshots.