Take screenshot in iPhone Simulator in Xcode 9

25,573

Solution 1

I have met the similar problem and here is the solution. Uncheck "Optimize Rendering for Window Scale" option from "Debug" menu. Then take your screenshot(Cmnd + S) with zoom. Now it will be in size 1242 x 2208

enter image description here

Solution 2

Use ⌘ + S to capture a screen shot.
(Use window + s, if you are using windows/non-apple keyboard).

enter image description here

See for more details: How to change simulator scale options with Xcode 9+.


Tip 1: How do you get screen shot with 100% (a scale with actual device size) that can be uploaded on AppStore?

Disable Optimize Rendering for Window scale from Debug menu, before you take a screen shot.

Here is an option

Menubar ▶ Debug ▶ Disable "Optimize Rendering for Window scale"

enter image description here


Tip 2: How to take a screen shot with Device Bezel?

Enable Show Device Bezel from Window menu.

Here is an option

Menubar ▶ Window ▶ Enable "Show Device Bezel"

enter image description here

Now,

  1. Press + shift + 4 + Spacebar, all together in Mac Keyboard. (A window snap capture mode will become active)
  2. Select Simulator window/frame, that you want to capture. It will save screenshot with device bezel (with shadow effect in background) on (logged-in user's) desktop.

Solution 3

Please use different iPhone Plus screen and make sure that is "Pixel Accurate" (click on Window and set Pixel Accurate).

Solution 4

I tried and can take screenshot of size 1242 x 2208(required for App Store) from iPhone 8 Plus simulator in XCode 9.0 by steps below.

  • Open your simulator
  • Double click on toolbar of your simulator
  • Command + S

The saved screenshot will have right dimensions. It works with every simuator.

enter image description here

Share:
25,573
Rohitax Rajguru
Author by

Rohitax Rajguru

iOS developer at myly.

Updated on April 13, 2020

Comments

  • Rohitax Rajguru
    Rohitax Rajguru about 4 years

    How can I take screenshot of size 1242 x 2208 (required for App Store) from iPhone 8 Plus simulator in Xcode 9.0? I can't resize the simulator like we did in earlier versions of Xcode. Is there any way to do it?