コード例 #1
0
ファイル: Main.cs プロジェクト: jorik041/monotouch-bindings
        // 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);
        }