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

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

			// instantiate our main navigatin controller and add it's view to the window
			mainNavController = new UINavigationController ();

			switch (CurrentDevice)
			{
				case DeviceType.iPhone:
				case DeviceType.iPad:
					home = new FontList.Screens.Universal.FontListing.FontFamiliesTableViewController ();
					mainNavController.PushViewController (home, false);
					break;
			}

			window.RootViewController = mainNavController;

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

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

            // instantiate our main navigatin controller and add it's view to the window
            mainNavController = new UINavigationController();

            switch (CurrentDevice)
            {
            case DeviceType.iPhone:
            case DeviceType.iPad:
                home = new FontList.Screens.Universal.FontListing.FontFamiliesTableViewController();
                mainNavController.PushViewController(home, false);
                break;
            }

            window.RootViewController = mainNavController;

            return(true);
        }