//========================================================================

        //========================================================================
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //---- create our window
            this._window = new UIWindow(UIScreen.MainScreen.Bounds);
            this._window.MakeKeyAndVisible();

            //---- create our navigation controller
            this._navController = new UINavigationController();

            //---- create the home screen and add it to the nav controller
            this._iPhoneHome = new Example_TableAndCellStyles.Screens.iPhone.Home.HomeNavController();
            this._navController.PushViewController(this._iPhoneHome, false);

            this._window.AddSubview(this._navController.View);

            //----
            return(true);
        }
Exemplo n.º 2
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			// create our window
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			window.MakeKeyAndVisible ();
			
			// create our navigation controller
			navController = new UINavigationController();
			
			// create the home screen and add it to the nav controller
			iPhoneHome = new Example_TableAndCellStyles.Screens.iPhone.Home.HomeNavController();
			navController.PushViewController(iPhoneHome, false);
			
			window.RootViewController = navController;
			
			//
			return true;
		}