XCode 11 Canvas does not rotate for iPad

Working on an iPad App (landscape mode) in XCode 11 - device orientation flags set to Landscape left/right.


The canvas shows iPad in Portrait. Does not rotate, and I do not see rotation controls. How do show a landscape iPad on the canvas?


The simulator also does not AUTOrotate - always starts in Portrait.


Tried clean build folder.


Please advise.

I have the same problem. Did you resolve it?

I can't seem to find a fix either. I have messed with adding a .previewLayout to the View in the _Previews: PreviewProvider (as directed here) but this just changes the bounds of the screen when in preview, as soon as you click play the orientation returns to vertical.

Would help us save a lot of time! Have you found a good workaround yet?
XCode 11 Canvas does not rotate for iPad
 
 
Q