iosrotationios-simulatorscreenshotios13

Is there a way to ensure iPad Simulator landscape screenshots are rotated correctly?


Most of the iPad apps I develop are used in Landscape mode. The iPad Simulator always starts in Portrait mode; with +R I rotate it to Landscape mode. In the past (before iOS 13.0 or 13.1), screenshots made with +S had the correct rotation, but if I make a screenshot right now it's rotated by 90 degrees.


(click to enlarge)

This is how the Mac desktop looks like when I make the screenshot on the Simulator:

enter image description here

Is there a way to stop this behaviour? I've tried the menu option Hardware -> Rotate Device Automatically but that didn't help.


Solution

  • This issue seems to have been fixed with the release of iOS 14 / Xcode 12. Now, when I take a screenshot of my Simulator in Landscape mode, it is saved in Landscape orientation.