I have 4 UIBarButtonItems inside a UISplitViewController’s right hand side (the detail controller). I’m using a UINavigationViewController to control the views in the right hand side, and adding the buttons to one of the ViewController’s which I’m pushing in their viewDidLoad. The buttons appear fine, but are totally unresponsive. I have the same UIBarButtonItems in the right items which respond as expected. I could understand if it was just one dodgy button but all four makes me think something is amiss.
I’m setting the buttons with:
[self.navigationItem setLeftBarButtonItems:leftActionButtons animated:true]; // this is an NSArray
Bizarrely, adding one button to the array twice called all four to be totally unresponsive.