Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Animazing |
It seems that using OS.set_screen_orientation(OS.SCREEN_ORIENTATION_SENSOR_PORTRAIT)
is not working on iOS. Whenever I switch from a landscape scene to a portrait scene on an IOS device using OS.set_screen_orientation(OS.SCREEN_ORIENTATION_SENSOR_PORTRAIT)
, the device opens the scene in landscape.
It is working fine on Android. I have some scenes that are in portrait and some that are in landscape. I verified that in Xcode all supported rotations are enabled.
Any clue what’s going on? I’m using Godot 3.5