Reputation: 4487
I updated my Xcode to the latest version and one thing I notice is that the screenshot image dimension size became small.
Before I updated it when I take screenshot using the Simulators built-in "Save Screenshot" function on iPhone 6 Plus simulator
. I would get 1920 * 1080
, But now the image dimension is only 414 * 736
.
Any thoughts?
Upvotes: 21
Views: 7475
Reputation: 754
On Xcode 12 select Prefer Discrete GPU to fix this.
File > GPU Selection > Prefer Discrete GPU
Upvotes: 1
Reputation: 5148
Solution 1: (from Kip's answer)
in Simulator menu uncheck the option Debug > Optimize Rendering for Window Scale.
Solution 2:
Simulators menu chose Window->Scale->100%. (keyboard shortcut: ⌘1)
Then save screenshot (keyboard shortcut: ⌘S).
Upvotes: 56
Reputation: 109413
Uncheck the option Debug > Optimize Rendering for Window Scale.
This will cause the saved screenshots to be in device resolution again, without requiring you to resize the device to the point where you can't see half of it.
Upvotes: 30
Reputation: 96
You can download the iOS 9.0 or 8.4 Simulator and use it from within XCode 7.1. They save screenshots at the device's native resolution instead of the scaled resolution.
If you want to take screenshots for the iPad Pro (which only runs iOS 9.1), you're stuck having to change back to 100% scale each time. A keyboard shortcut for this is ⌘1, ⌘S, ⌘3
Upvotes: 3