how to detect touches on uisegmentedcontrol - even on selected segment?

Viewed 5089

While detecting changes works with UIControlEventValueChanged - I need to detect touches even on selected segments.

I tried

   [onOffSC addTarget:self
            action:@selector(segmentedControlPushed)
  forControlEvents:UIControlEventAllTouchEvents];

But this fires nothing.

Is there a way to detect touches on a selected segment?

EDIT - without having to create a new subclass. ps also the gesture recognizer does not accept the segmentcontrol when trying to drag it there

Many thanks

1 Answers
Related