After updating to Xcode13, the method of switching vertical and horizontal screen is executed. The width and height of self.view of ViewController vertical and horizontal screen is not changed, but the UIInterfaceOrientation of obtaining the current device is changed
Xcode 13(13A233)
the method of switching vertical and horizontal screen is executed.
Could you explain precisely what you do, what you get, what you expect.
May be a screen capture could help understand.
Xcode 13.1 release notes:
Interface Builder:
Fixed an issue where iPhone 13 mini wouldn’t rotate to landscape orientation. (83465491)