xcode - UIBarButtonItem, set exclusive touch -


Is there any way to touch UIBarButtonItem unique? At the moment you can select multiple at the same time and it keeps crashing my application.

A little easier than comparison with sub-closing, but the same idea;

 (UIView * Temp in self.navigationController.navigationBar.subviews) {[temp setExclusiveTouch: Yes]; }   

Keep it after adding your own button items.

Comments