How to hide a UIBarButton item

You can set simply set your UIBarButtonItem to nil, like so:

self.navigationItem.rightBarButtonItem = nil;




Leave a Reply