0

I am tryin to add a custom button in the UI navigation controller toll bar i dis this as follows

  1. created a class derived from UInavigation controller

2 .Overloaded the viewdidload as follows

{

logoutbutton = new UIbarbutton{..}

navigationitem.RightBArbutton = logoutbutton }

Please help me in resolving the issue

Rahul Raj
  • 367
  • 3
  • 17

1 Answers1

2

something like this should work

_addButton = new UIBarButtonItem (UIBarButtonSystemItem.Add);
_rootVC.NavigationItem.RightBarButtonItem = _addButton;
Jason
  • 86,222
  • 15
  • 131
  • 146