问题
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