On Xcode 9.1 the Pixel Accurate
option is disabled and grayed out under the Window
menu.
How can you re-enable this option?
On Xcode 9.1 the Pixel Accurate
option is disabled and grayed out under the Window
menu.
How can you re-enable 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 +
←
:)
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.
We don't enable that option unless your screen is large enough to display the device at the full resolution without running off the edges.
As an aside: If you have "Optimize rendering for window scale" enabled that causes the Simulator to render at the size of the window, not the native resolution of the device. That means screenshots are at the window's scaled size, not full device size. To get full-size screenshots you can temporarily disable that option. I recommend leaving it on otherwise because it improves performance.
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!