This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
Is there any way to prevent the orientation change? #13
Open
Description
Hi,
I want to prevent the app to be rotated to portrait mode in certain scenarios, but I need it available so I can't disable it completely.
I know we have the OrientationChanged event but it fires after the orientation changes.
In other words; I want the app to be available in landscape and landscape flipped mode.
How can I achieve this?
I'm currently using Xamarin.Forms with PCL.