Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 995
Tsvetilin Boynovski Avatar asked Feb 14 '16 15:02

Tsvetilin Boynovski


People also ask

How do I take a screenshot on IOS emulator?

Open simulator, and press Command along with S at the same time, this will take a screenshot and save on desktop generally. you can also open simulator, go to file menu and select New Screenshot from there.

How do you take a screenshot in Swift?

render(in: UIGraphicsGetCurrentContext()!) let screenshot = UIGraphicsGetImageFromCurrentImageContext() UIGraphicsEndImageContext() return screenshot! }

How do I take a screenshot of the entire page in simulator?

On many Android devices, you can capture a screenshot with a key-combination: Simultaneously press-and-hold Power and Volume-down. You can also capture a screenshot with Android Studio as follows: Run your app on a connected device or emulator. If using a connected device, be sure you have enabled USB debugging.


2 Answers

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

enter image description here

like image 95
Edess Elder Avatar answered Sep 24 '22 09:09

Edess Elder


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.

like image 35
Naderio Avatar answered Sep 24 '22 09:09

Naderio