pinkstone.co.uk
How to hide a UIBarButtonItem in your Navigation Controller
Since UIBarButtonItems do not have a “hidden” property, we can’t just set this to yes and it’ll disappear. Instead, we can set them to nil. In this example we’re hidin…