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

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

            //---- are we running an iPhone or an iPad?
            this.DetermineCurrentDevice();


            switch (this._currentDevice)
            {
            case DeviceType.iPhone:
                this._iPhoneTabs = new Screens.iPhone.Tabs.TabBarController();
                break;

            case DeviceType.iPad:
                //this._iPadHome = new Example_StandardControls.Screens.iPad.Home.HomeNavController ();
                //this._mainNavController.PushViewController (this._iPadHome, false);
                break;
            }


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


            //----
            return(true);
        }
Beispiel #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // create our window
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.MakeKeyAndVisible();

            // create the tab controller
            iPhoneTabs = new Screens.iPhone.Tabs.TabBarController();

            // load the tab controller onto the window
            window.RootViewController = iPhoneTabs;

            //
            return(true);
        }
Beispiel #3
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			// create our window
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			window.MakeKeyAndVisible ();
			
			// create the tab controller
			iPhoneTabs = new Screens.iPhone.Tabs.TabBarController();
			
			// load the tab controller onto the window
			window.RootViewController = iPhoneTabs;
			
			//
			return true;
		}