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
This needs platform specific code. For Android, it's easy (there is existing code), but for iOS it seems there is no way unless some sort of undocumented hack is used, might be tricky.
The text was updated successfully, but these errors were encountered:
I have nearly zero knowledge on iOS, but I will make a research on the subject. If there is no way to switch screen orientation on the go, there shoul be at least a way to lock portrait right from the start.
Some time ago I tried to rework my Camera class to use matrix rotation for orientation switch, but there were too many issues so I abandoned the idea. But I can try again :)
After #27 is merged, the PDPlatformSupport class can be extended to have a method like setOrientation with an enum that can contain PORTRAIT, LANDSCAPE and FULLSCREEN. Then, each platform can extend the class to do the right thing depending on the selected option.
This needs platform specific code. For Android, it's easy (there is existing code), but for iOS it seems there is no way unless some sort of undocumented hack is used, might be tricky.
The text was updated successfully, but these errors were encountered: