title: How to disable the right bar button of navigation
body: <pre><code>self.navigationItem.rightBarButtonItem.enabled = FALSE;
  [activityIndicator startAnimating];
  //[myview sendSubviewToBack:self.view];
  //self.view.hidden= TRUE;
  myview.hidden= FALSE;
  activityIndicator.hidden= FALSE;
  dt = [[DateTime alloc] init];
  </code></pre>
  
  <p>This is my method in this when user click on leftbar button of navigation this method fires here i want to disable the button but its not getting disable and i checked my code i am not enabling it anywhere.......Please help me</p>