How to hide a UIBarButton item

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

self.navigationItem.rightBarButtonItem = nil;




Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.