public override void ViewDidLoad() { base.ViewDidLoad(); Title = NSBundle.MainBundle.GetLocalizedString(ConstantsHelper.Maps, ConstantsHelper.Maps); _sideMenuManager = new SideMenuManager(); NavigationItem.SetLeftBarButtonItem( new UIBarButtonItem(ConstantsHelper.Menu, UIBarButtonItemStyle.Plain, (sender, e) => { PresentViewController(_sideMenuManager.LeftNavigationController, true, null); }), false); SetupSideMenu(); var mapsView = new MKMapView(); mapsView.MapType = MKMapType.Hybrid; mapsView.ZoomEnabled = true; mapsView.ScrollEnabled = true; mapsView.TranslatesAutoresizingMaskIntoConstraints = false; CLLocationManager locationManager = new CLLocationManager(); locationManager.RequestWhenInUseAuthorization(); mapsView.ShowsUserLocation = true; View.AddSubview(mapsView); View.AddConstraints(mapsView.WithSameTop(View), mapsView.WithSameBottom(View), mapsView.WithSameLeft(View), mapsView.WithSameRight(View)); }