Steps to reproduce:
- Open attached project (orientation-test.zip)
- Switch to iOS and make a build
- Build the Xcode project and deploy to a new generation iPhone 14 device
- Note: can also be reproduced with Simulator as long as you simulate one of the new iPhones.
- Click LandscapeLeft button to switch to landscape
- Click Portrait Upside Down to try to switch to portrait upside down
Expected behaviour: Application should not attempt switching to Upside Down orientation as iPhones don't allow upside down orientation.
Actual behaviour: Application attempts to change orientation to Upside Down and crashes the app.
Notes:
- Switching to Portrait Upside Down first without trying to switch to Landscape first succeeds the first time without crashing, but further attempts crash the app eventually.
Reproduced with: 2021.3.7f1, 2022.2.0b11, 2023.1.0a11
Devices tested:
iPhone 14 Pro Max (iOS 16.0) - Reproduced
iPhone 13 Pro Max (iOS 16.0 beta) - Not reproduced