Force screen orientation on iOS
I have already asked this question for Android in this post: link
and the answer was really accurate.
I now have to do the same thing for iOS. Does anyone have any idea if it is achievable and how?
@Matteo-Vigni One way is to limit the screen orientation mask for the window you are rendering.
Typically, you would OR these enumerations together to specify supported orientations. In your app, when you create the window, set this to the desired orientation and do not provide any others by ORing them together. That should force the window to only allow one orientation when rendered.
The example I found which helped me is here:
From Window example project