protected override void SetRootViewController() { if (IsPhone) { window.RootViewController = docListNav; } else { var blankVC = new BlankVC(); blankVC.View.BackgroundColor = UIColor.White; detailNav = new UINavigationController(blankVC); detailNav.NavigationBar.BarStyle = Theme.NavigationBarStyle; detailNav.ToolbarHidden = false; Theme.Apply(detailNav.Toolbar); split = new UISplitViewController { PresentsWithGesture = false, ViewControllers = new UIViewController[] { docListNav, detailNav, }, Delegate = new SplitDelegate(), }; window.RootViewController = split; } }
protected override void SetRootViewController () { if (IsPhone) { window.RootViewController = docListNav; } else { var blankVC = new BlankVC (); blankVC.View.BackgroundColor = UIColor.White; detailNav = new UINavigationController (blankVC); detailNav.NavigationBar.BarStyle = Theme.NavigationBarStyle; detailNav.ToolbarHidden = false; Theme.Apply (detailNav.Toolbar); split = new UISplitViewController { PresentsWithGesture = false, ViewControllers = new UIViewController[] { docListNav, detailNav, }, Delegate = new SplitDelegate (), }; window.RootViewController = split; } }