Tsvetilin Boynovski
Tsvetilin Boynovski

Reputation: 646

Taking screenshots in Xcode

I am currently trying to take screenshots of my app in order to publish it to the App Store.

The problem is when I take a screenshot on the iPhone 6S simulator (4,7 inch) and upload it to the iTunes Connect it says the dimensions are too small (375x667) and they are required to be at least 750x1334.

Am I taking the screenshots the wrong way or is my Xcode simulator incapable of taking screenshots at high dimensions?

Upvotes: 51

Views: 45624

Answers (8)

Darshit Shah
Darshit Shah

Reputation: 2382

Set Xcode shortcut from Preferences... for the screenshot of the active device.

Go to Xcode >> Preferences... >> Key Bindings >> View Debugging-Take Screenshot of Active Device (Debug Menu) >> Set your custom shortcut.

Set your custom shortcut, I set ctrl+cmd+alt+S

Upvotes: 3

GLee
GLee

Reputation: 5093

You also need to uncheck "Optimize Rendering for Window Size" on the simulator: enter image description here

Steps to get correctly sized screenshots for the app store:

  1. Open the app in the simulator (6s Plus is 5.5")
  2. Uncheck "Optimize Rendering for Window Size" on the simulator.
  3. Press Cmd+1 to set size to "Physical Size"
  4. Press Cmd+S to save a screenshot to desktop.

Upvotes: 2

ryan0
ryan0

Reputation: 1525

None of these things worked for me. My problem was that I was not using the iPhone X simulator to take the screenshots. Cmd + s worked once I switched.

Upvotes: 1

Naderio
Naderio

Reputation: 1419

When running in simulator, pressing CMD+S saves a Screenshot of the active simulator to the Desktop.

With a real device connected and focus to the Xcode window you can click the menu
Debug > View Debugging > Take Screenshot of [Devicename]
This Screenshot is saved to the Desktop too.

Upvotes: 27

Edess Elder
Edess Elder

Reputation: 1501

Try this one! The screenshots are saved on the Desktop.

enter image description here

Upvotes: 98

Franck
Franck

Reputation: 9359

Press Command - S, you will get screenshot in the same size of the actual sim device.

Also, If you want to generate nice screen shot sor App Store, I use this web site (https://launchkit.io/). (Free version)

Upvotes: 6

Tsvetilin Boynovski
Tsvetilin Boynovski

Reputation: 646

Just did it. You have to set the scale to 100% first and than take the screenshot.

Upvotes: 3

SNMohanty
SNMohanty

Reputation: 97

Have you used the Simulator menubar option to capture the screenshot !

Upvotes: 1

Related Questions