How to get the original size of screenshots using iOS Simulator in Xcode 7 when scaling down
Solution 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!! ππ
Solution 2
@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:
- In the Simulator, go to Edit -> Copy Screen (^βC)
- Open Preview and paste as a new image (βN)
- Save the resulting image (βS)
The saved output image should have the desired resolution to be included on the Apple App Store.
![sbs](https://i.stack.imgur.com/8rhcs.jpg?s=256&g=1)
sbs
Updated on June 09, 2022Comments
-
sbs about 2 years
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 Plus100%
scale simulator save screenshots as1242 x 2208
;25%
scale simulator save screenshots as310 x 552
.Is there a way to make the simulator scale to
25%
but still get original size of1242 x 2208
? The100%
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.
-
Richard Groves over 8 yearsThe question indicates he knows how to do this - what he wants is for the simulator to not scale down the image when running the simulator at != 100%. Answer stackoverflow.com/a/34003920/701926 explains how.
-
Franck Jeannin almost 5 yearsThat menu does not seem to exist anymore
-
Kristijan KlindiΔ about 4 years@FranckJeannin did you find any solution for this?
-
Allisone almost 4 yearsit does not work for me :( size is always too small, does not matter if I copy screen, save screen, or even if I take a screen on my actual iPhone. Edit: Was a different problem. Was trying to upload 4,7" screenshot for the 5,5" display