// This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching(UIApplication app, NSDictionary options) { TentsViewController tvc = new TentsViewController(); navController = new UINavigationController(); navController.PushViewController(tvc, false); navController.NavigationBar.BarStyle = UIBarStyle.Black; navController.TopViewController.Title = "Tents"; window = new UIWindow(UIScreen.MainScreen.Bounds); window.AddSubview (navController.View); window.MakeKeyAndVisible (); return true; }
// This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching(UIApplication app, NSDictionary options) { TentsViewController tvc = new TentsViewController(); navController = new UINavigationController(); navController.PushViewController(tvc, false); navController.NavigationBar.BarStyle = UIBarStyle.Black; navController.TopViewController.Title = "Tents"; window = new UIWindow(UIScreen.MainScreen.Bounds); window.AddSubview(navController.View); window.MakeKeyAndVisible(); return(true); }
public TableViewDelegate(TentsViewController controller, List <Tent> tents) { _tvc = controller; _tents = tents; }
public TableViewDelegate(TentsViewController controller, List<Tent> tents) { _tvc = controller; _tents = tents; }