Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Take screenshot in iPhone Simulator in Xcode 9

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?

like image 220
Rohitax Rajguru Avatar asked Oct 13 '17 06:10

Rohitax Rajguru


2 Answers

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

like image 129
arunjos007 Avatar answered Sep 17 '22 12:09

arunjos007


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.
like image 34
Krunal Avatar answered Sep 20 '22 12:09

Krunal