3
I set the orientation of a page of my app as landscape, but it was static. If the user turns the screen 180º continues as a landscape but stays upside-down. How do I so that when the device is rotated the screen continues in landscape and track the user’s viewing position ?
protected override void OnNavigatedTo(NavigationEventArgs e)
{
this.navigationHelper.OnNavigatedTo(e);
DisplayInformation.AutoRotationPreferences = DisplayOrientations.Landscape;
}