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

12,357

Solution 1

enter image description here

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:

  1. In the Simulator, go to Edit -> Copy Screen (^⌘C)
  2. Open Preview and paste as a new image (⌘N)
  3. Save the resulting image (⌘S)

The saved output image should have the desired resolution to be included on the Apple App Store.

Share:
12,357
sbs
Author by

sbs

Updated on June 09, 2022

Comments

  • sbs
    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 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.

  • Richard Groves
    Richard Groves over 8 years
    The 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
    Franck Jeannin almost 5 years
    That menu does not seem to exist anymore
  • Kristijan KlindiΔ‡
    Kristijan Klindić about 4 years
    @FranckJeannin did you find any solution for this?
  • Allisone
    Allisone almost 4 years
    it 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