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.
You can pick & drag any corner of simulator to resize it and set it according to your requirement.
Press Command+Shift+4 and then keep the mouse pointer on Simulator and then press "Space Bar" key one camera icon will appear, now left click the mouse. Your simulator screen shot is saved on desktop. You can take the screen shot any small screen in the same way.
The simulator does a really lousy job of indicating app performance. In fact it doesn't try. For most things the simulator is much, much faster than an iOS device. It runs your code on an x86 processor, which is much faster than the ARM and has many times more memory.
There are two different ways to access Simulator through Xcode. The first way is to run your app in Simulator, and the second way is to launch Simulator without running an app.
@SamSol's answer may work for earlier versions of Xcode, but the debug window does not appear to be present in Xcode 11+.
Instead, I followed this suggestion from the Apple Developer forum:
The saved output image should have the desired resolution to be included on the Apple App Store.
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!! ππ
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With