I have a requirement to rotate screen manually as well as automatically.
Manual: Rotate the screen from Landscape to Portrait. Then I should show the Portrait view of the page even though I have not tilted my phone(still in landscape). Both portrait and landscape have different views with buttons at the bottom to change orientation. By tapping the button I should change the orientation even though I stay in Landscape I should show a portrait view.
Automatic: When I rotate the phone also it should change view automatically.
Achieving both separately is possible. Even I can get hundreds of answers already on google. But when I want to achieve both cases for the same page is a hurddle.
To make it clear and simplified. Find below
I want to rotate only one page in my app automatically and as well as manually. (Achieved)
Both portrait and landscape views are different. (Achieved)
I should not lock the particular page at any cause but I also when I change orientation manually I should able to do that. Even though I am not rotating/tilt the phone. (Todo)
I want to satisfy both cases. How to achieve that in Android and iOS (Xamarin.Forms)?
Anyone faces this kind of use case and if you got a solution. Help me out.
Thanks in advance.