How can I disable a UISegmentedControl?
Try using:
- (void)setEnabled:(BOOL)enabled forSegmentAtIndex:(NSUInteger)segment;
or
titleSegmentedControl.userInteractionEnabled = NO;
Within titleBarButtonChanged:(id)sender
add:
if(!sender.enabled) return;