I have created a navigation controller. In the second view (which is pushed), I have some webservice call and placing a overlay view and setting
self.view.use
I solved this by just adding a property to my viewcontroller:
@property (nonatomic, strong) IBOutlet UIBarButtonItem * RightButton;
I then connected it to the button on the storyboard. You can then at will set its properties like:
self.RightButton.enabled=true;