public override void ViewDidLoad() { base.ViewDidLoad(); buttonUrls = new UIBarButtonItem("URL's", UIBarButtonItemStyle.Bordered, new EventHandler((s, e) => { urlsController = new RecentUrlsViewController(); NavigationController.PushViewController(urlsController, true); })); NavigationItem.RightBarButtonItem = buttonUrls; }
public override void ViewDidLoad() { base.ViewDidLoad (); buttonUrls = new UIBarButtonItem ("URL's", UIBarButtonItemStyle.Bordered, new EventHandler((s, e) => { urlsController = new RecentUrlsViewController(); NavigationController.PushViewController(urlsController, true); })); NavigationItem.RightBarButtonItem = buttonUrls; }