Пример #1
0
 public void WillShowViewController(UISplitViewController svc, UIViewController vc, UIBarButtonItem button)
 {
     // Called when the view is shown again in the split view, invalidating the button and popover controller.
     NavigationItem.SetLeftBarButtonItem(null, true);
     masterPopoverController = null;
 }
Пример #2
0
 public void WillHideViewController(UISplitViewController splitController, UIViewController viewController, UIBarButtonItem barButtonItem, UIPopoverController popoverController)
 {
     barButtonItem.Title = NSBundle.MainBundle.LocalizedString("Master", "Master");
     NavigationItem.SetLeftBarButtonItem(barButtonItem, true);
     masterPopoverController = popoverController;
 }