I need to set the screen orientation when the app opens. I don't need to change it and I don't want it to change once it is set.
But the only things I found for B4i say it can't be done. Or that it is unreliable or undocumented. But those threads are old.
Is there a way to do this in B4i?
Usage. 1) Add pageOrientation module to your project. 2) After each ShowPage call setInterfaceOrientations function. For example, pageOrientations.setInterfaceOrientations (Page2, "LandscapeLeft, LandscapeRight") 3) If you want to ignore invalid orientation (let's say, in Page_Resize event)...