Exemplo n.º 1
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // create a new window instance based on the screen size
              Window = new UIWindow(UIScreen.MainScreen.Bounds);

              main = new MainViewController();
              nav = new UINavigationController(main);

              // If you have defined a root view controller, set it here:
              Window.RootViewController = nav;

              // make the window visible
              Window.MakeKeyAndVisible();

              return true;
        }
Exemplo n.º 2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // create a new window instance based on the screen size
            Window = new UIWindow(UIScreen.MainScreen.Bounds);

            main = new MainViewController();
            nav  = new UINavigationController(main);

            // If you have defined a root view controller, set it here:
            Window.RootViewController = nav;

            // make the window visible
            Window.MakeKeyAndVisible();

            return(true);
        }