iOS Question B4XPages - limit specific pages to specific orientations in B4I


Active Member
Licensed User
Longtime User
In my B4XPages cross platform App, for the B4I App, I need to limit specific pages to specific orientations. For example, the main page locked in portrait and Page 2 locked in landscape. I know that this question has been raised in several posts on this forum but I have not seen any reply that actually answers it or works properly. The following post is the closest to the solution but apparently it does not work with IOS 16+

I realize that you can use the "#iPhoneOrientations" attribute, but that works globally across all pages.

If anyone has implemented a solution for B4I or one that works for B4I and B4A, I would really appreciate some guidance.