public MainPage() { InitializeComponent(); SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape; Forms.Init(); Xamarin.FormsMaps.Init(); var app = new FormsGallery.App(); LoadApplication(app); // new in 1.3 }