You can add target in this way:
[cell.pubPrivSegmentedControl addTarget:self action:@selector(switchValue:event:) forControlEvents:UIControlEventValueChanged];
And implement method :
- (void)switchValue:(id)sender event:(id)event {
NSSet *touches = [event allTouches];
UITouch *touch = [touches anyObject];
CGPoint currentTouchPosition = [touch locationInView: tableView];
NSIndexPath *indexPath = [tableView indexPathForRowAtPoint: currentTouchPosition];
}