Forum Xamarin.Forms

Is possible has a page portrait and other landscape or both?

pnet1pnet1 USMember ✭✭✭✭

I have an App. It works this way.

Login page is opened. When i log in the App i'm redirected to a MainPage. This page(Main) it must have just Orientatio = Portrait, but when i click over an image, so am redirected to Webview(called Painés). These webview must be Portrait or Landscape. If i put in the MainActivity something as:

ScreenOrientation = ScreenOrientation.Portrait

all pages will be Portrait. How can i do each page portrait or landscape or both?



Sign In or Register to comment.