On Xcode 9.1 the Pixel Accurate
option is disabled and grayed out under the Window
menu.
How can I take App Store screenshots without this option?
On Xcode 9.1 the Pixel Accurate
option is disabled and grayed out under the Window
menu.
How can I take App Store screenshots without this option?
The original answer is wrong!
Russ from the Apple Simulator team says:
To take app store screenshots uncheck the "Optimize rendering for Window Scale" option in the Debug menu. I recommend turning this back on normally as it improves rendering performance. Double-clicking does not make the device use native resolution, that's just an accident due to the size of device you tested with and the size of your screen.
==========
ORIGINAL ANSWER (DOES NOT WORK RELIABLY):
Make sure Window -> Show Device Bezels is unchecked.
Double click the simulator's toolbar (the top bar listing the device and OS).
Note - sometimes, double-clicking the toolbar will just minimize the window to the dock. Alternately, simply click OSX menubar Window->Zoom.
Hello happy days, the simulator resizes and provides the right resolution for App Store screenshots.
You could set the simulator to landscape mode by clicking ⌘
+ →
first, then you could click ⌘
+ 2
to select Pixel Accurate
option, don't forget set simulator to portrait mode by clicking ⌘
+ ←
:)
As of Xcode 12 we always enable all of the options.
In previous releases they were not enabled unless your screen was large enough to display the device at the full resolution without running off the edges.
I found the menu is only enabled when your screen resolution is able to support pixel accurate display( so as physical size). This is annoying because making a screenshot always generates a picture at the current size of the simulator on Xcode 9.1. It requires to the simulator to display in the pixel-accurate mode for qualified screenshots. For iPad Pro(12.9-in, 2732 x 2048 pixels), the mode is only available in landscape when my MacBook Pro is set to "More Space"- with actual resolution at 3840x2400.
Since the computer I own (2017 MacBook Air) don't support landscape mode and resolution is 1440x1000 I'm stuck. In Xcode 9.0 you could still select 100% scaling and scroll down in the simulator. That's no longe possible.
I can understand if apple drops support for 2005 computers, but not 1 month old ones :S
So the only option I could find is to buy a extra screen! BUT for just making a screenshot you can still press CMD+S and it will make a native resolution one!
In case this helps anyone else, the issue for me was my second monitor. I tried all of the solutions here, but none of them worked until i unplugged my second display. I work on a 15" 2016 MBP and the second display is a 2560×1440 QHD Asus monitor connected by HDMI to a USB-C hub.
Since I only needed to take a screenshot, I found out the quick fix was to go to "Hardware" > "Rotate Left"/"Rotate Right" and "Pixel/Point accurate" becomes available.
Hardware > Device > Manage Devices > Delete the iPhone that you're having trouble with (from the sidebar). [Remember to "Close Window" on Simulator and exit Simulator before deleting]
Add it again from the "+" button on the bottom left.
Restart Simulator and launch the device again.
Done.
© 2022 - 2024 — McMap. All rights reserved.