Пример #1
0
        //@synthesize window;
        //@synthesize navigationController;


        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            CGRect screenBounds = UIScreen.MainScreen.Bounds;

            this.Window = new UIWindow(screenBounds);

            DemoTableViewController demoTableViewController = new DemoTableViewController();

            NavigationController           = new UINavigationController(demoTableViewController);
            this.Window.RootViewController = NavigationController;
            Window.AddSubview(NavigationController.View);
            Window.MakeKeyAndVisible();

            return(true);
        }
Пример #2
0
        //@synthesize window;
        //@synthesize navigationController;
        public override bool FinishedLaunching( UIApplication application, NSDictionary launchOptions)
        {
            CGRect screenBounds = UIScreen.MainScreen.Bounds;
            this.Window = new UIWindow( screenBounds);

            DemoTableViewController demoTableViewController = new DemoTableViewController();
            NavigationController = new UINavigationController(demoTableViewController);
            this.Window.RootViewController = NavigationController;
            Window.AddSubview(NavigationController.View);
            Window.MakeKeyAndVisible();

            return true;
        }