void ConfigureSync(object sender, EventArgs args) { var navController = ParentViewController as UINavigationController; var controller = new ConfigViewController(); controller.EdgesForExtendedLayout = UIRectEdge.None; navController.PushViewController(controller, true); }
void ConfigureSync(object sender, EventArgs args) { var navController = ParentViewController as UINavigationController; var controller = new ConfigViewController(); if (AppDelegate.CurrentSystemVersion >= AppDelegate.iOS7) { controller.EdgesForExtendedLayout = UIRectEdge.None; } navController.PushViewController(controller, true); }
void ConfigureSync(object sender, EventArgs args) { var navController = ParentViewController as UINavigationController; var controller = new ConfigViewController (); if (AppDelegate.CurrentSystemVersion >= AppDelegate.iOS7) { controller.EdgesForExtendedLayout = UIRectEdge.None; } navController.PushViewController (controller, true); }
void ConfigureSync(object sender, EventArgs args) { var navController = ParentViewController as UINavigationController; var controller = new ConfigViewController (); navController.PushViewController (controller, true); }