How to get the original size of screenshots using iOS Simulator in Xcode 7 when scaling down

对着背影说爱祢 提交于 2019-11-29 11:19:08

问题


In Xcode 7.1 Simulator, when using ⌘+s to save screenshot to desktop, it saves the actual size of the simulator. For example, iPhone 6 Plus 100% scale simulator save screenshots as 1242 x 2208; 25% scale simulator save screenshots as 310 x 552.

Is there a way to make the simulator scale to 25% but still get original size of 1242 x 2208? The 100% simulator is just too huge on a 13" screen.

It used to save as original size regardless scale level, but in Xcode 7.1 it's no longer the case.


回答1:


Uncheck "Optimize Rendering for Window Scale" option from "Debug" menu, if you want to save screenshot of actual device size 🖼📲 from iOS simulator.

Happy Programming!! 😀😊




回答2:


  • To take a screenshot of the iOS, watchOS, or tvOS device and save it to your Mac Clipboard

choose Edit > Copy Screen.

  • To save a screenshot of the iOS, watchOS, or tvOS device and of the external display as files

choose File > Save Screen Shot.

A screenshot of each open simulated device is saved to the desktop of your Mac.



来源:https://stackoverflow.com/questions/33765160/how-to-get-the-original-size-of-screenshots-using-ios-simulator-in-xcode-7-when

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