Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 738
sbs Avatar asked Nov 17 '15 19:11

sbs


People also ask

How do I make iOS simulator smaller?

You can pick & drag any corner of simulator to resize it and set it according to your requirement.

How do I take a screenshot on iOS emulator?

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.

Does iOS simulator simulate performance?

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.

What are the two ways to access iOS simulator in Xcode?

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.


2 Answers

@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.

like image 28
Mepix Avatar answered Sep 23 '22 08:09

Mepix


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!! πŸ˜€πŸ˜Š

like image 96
SamSol Avatar answered Sep 22 '22 08:09

SamSol