Search Issue Tracker
By Design
Votes
0
Found in
2021.3.16f1
2022.2.1f1
2023.1.0a24
2023.2.0a1
Issue ID
UUM-22476
Regression
No
[iOS] Forcing orientations at runtime doesn't work on iPad devices when "Requires Fullscreen" is disabled
Steps to reproduce:
- Open attached project
- Switch to iOS
- Open Player Settings/Resolution and Presentation tab
- Disable Requires Fullscreen setting and make sure Autorotation is enabled with all 4 orientations allowed
- Build and run on an iPad device
- Try to force orientations using one of the buttons at the top-left ({}Portrait{}, {}Portrait Upside Down{}, Landscape Left or Landscape Right buttons)
Expected behaviour: The app should start forced in Portrait orientation and forcing other orientations using the buttons should result in app rotating to said orientations.
Actual behaviour: The app starts with all 4 orientations allowed and ignores all of the attempts to force one specific orientation.
Reproduced with: 2021.3.15f1, 2022.2.2f1, 2023.1.0a25
Tested with:
iPad Pro M1, iOS 16.0 - Reproduced
iPad Mini 6, iOS 15.0 - Reproduced
iPhone 14 Pro Max, iOS 16.0 - Not reproduced
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Multitasking apps must support all orientations. You can opt out of multitasking by enabling Requires full screen on your iOS target or by not declaring support for all possible orientations within the Info.plist file.
It is written in here: https://developer.apple.com/documentation/uikit/uiviewcontroller/1621435-supportedinterfaceorientations?language=objc