Esempio n. 1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options) {
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.BackgroundColor = UIColor.White;

            UIViewController viewController1 = new FiveStarViewController();
            UIViewController viewController2 = new TenTomatoesViewController();
            UIViewController viewController3 = new SixMoustachesViewController();
            UIViewController viewController4 = new CustomBackgroundViewController();
            UIViewController viewController5 = new SampleTableViewControllerController();
            tabBarController = new UITabBarController();
            tabBarController.ViewControllers = new[] {
                viewController1,
                viewController2,
                viewController3,
                viewController4,
                viewController5,
            };
            window.RootViewController = tabBarController;
            window.MakeKeyAndVisible();
            return true;
        }
Esempio n. 2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.BackgroundColor = UIColor.White;

            UIViewController viewController1 = new FiveStarViewController();
            UIViewController viewController2 = new TenTomatoesViewController();
            UIViewController viewController3 = new SixMoustachesViewController();
            UIViewController viewController4 = new CustomBackgroundViewController();
            UIViewController viewController5 = new SampleTableViewControllerController();

            tabBarController = new UITabBarController();
            tabBarController.ViewControllers = new[] {
                viewController1,
                viewController2,
                viewController3,
                viewController4,
                viewController5,
            };
            window.RootViewController = tabBarController;
            window.MakeKeyAndVisible();
            return(true);
        }