示例#1
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // If you have defined a view, add it here:
            // window.AddSubview (navigationController.View);

            mapView = new MapViewController();

            window.AddSubview(mapView.View);

            window.MakeKeyAndVisible ();

            return true;
        }
示例#2
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // If you have defined a view, add it here:
            // window.AddSubview (navigationController.View);

            mapView = new MapViewController();

            window.AddSubview(mapView.View);

            window.MakeKeyAndVisible();

            return(true);
        }