You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that OS.set_screen_orientation(OS.SCREEN_ORIENTATION_SENSOR_PORTRAIT) or OS.set_screen_orientation(OS.SCREEN_ORIENTATION_SENSOR_LANDSCAPE) does not force a scene into the respective orientation on iOS devices.
On Android this behavior seems to work as intended.
Steps to reproduce
Create a new project
Create two buttons and attach a method that sets the screen orientation
Calinou
changed the title
Setting screen orientation per scene not working on iOS
Setting screen orientation at run-time not working on iOS
May 11, 2023
Godot version
3.5.1
System information
iOS
Issue description
It seems that
OS.set_screen_orientation(OS.SCREEN_ORIENTATION_SENSOR_PORTRAIT)
orOS.set_screen_orientation(OS.SCREEN_ORIENTATION_SENSOR_LANDSCAPE)
does not force a scene into the respective orientation on iOS devices.On Android this behavior seems to work as intended.
Steps to reproduce
Minimal reproduction project
RotationTest.zip
The text was updated successfully, but these errors were encountered: