Wrong screenshot size in Xcode 10 using Simulator

≡放荡痞女 提交于 2019-12-09 08:05:50

问题


I'm trying to make screenshots for iTunes using the Xcode 10 Simulator, but the images are the wrong size.

I have read that Debug > Optimize Rendering for Window Scale would help, but in Xcode there is no such option. Does anyone have this issue?


回答1:


With Xcode 10, iphone 8 plus simulator worked for 5.5inch. Then, Iphone Xs Max for 6.5 inch, but this needed the alpha removed, which can be done by opening the image, clicking 'file' > 'export' and unchecking alpha.




回答2:


After testing, it looks like Xcode 10.0 has full resolution screenshot ability for iPhone X series simulators only. It's good to know that it is enough to make 6.5" screen size screenshots to submit to the App Store, so just use iPhone X series simulators for screenshots to solve the issue.




回答3:


Do not use cmd+4 shortcut, use Simulator -> New Screenshot.

For me, using system shortcut produces bad results, Simulator screenshot works ok.




回答4:


Debug > Optimize Rendering for Window Scale is a Simulator option, open your simulator and proceed to use it



来源:https://stackoverflow.com/questions/53297870/wrong-screenshot-size-in-xcode-10-using-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!