Exemple #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);

            // var controller = new UIViewController();
            //controller.View.BackgroundColor = UIColor.LightGray;
            // controller.Title = "Movie Searching App";
            var mainViewController = new MainViewController();
            var navController      = new UINavigationController(mainViewController);

            Window.RootViewController = navController;

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

            return(true);
        }
Exemple #2
0
 public TableSource(MainViewController controller)
 {
     this.controller = controller;
 }