rs / SDSegmentedControl

A drop-in remplacement for UISegmentedControl that mimic iOS 6 AppStore tab controls
MIT License
1.2k stars 180 forks source link

Fires valueChanged even when segment not changed. #6

Closed AndyJordan closed 11 years ago

AndyJordan commented 11 years ago

With the ValueChanged event with the action

This action is called even when the currently selected segment is touched. The usual behaviour with UISegmentedControl is that unless a different segment is touched this ValueChanged event should not occur.

Any ideas? Thanks.

AndyJordan commented 11 years ago

Thanks Olivier for fixing this so promptly.