UISegmentedControl - Responding to repeated touches
I am using a UISegmentedControl object in my UI and i have it responding to an IBAction when a specific segment is touched.
This then invokes another view controller and the user then presses a back button from there.
However, when it returns to the main screen where the segmented control is displayed, the selection the user made is still highlighted. The user can then select another segment but if they select the already selected segment, nothing happens.
1) How to reset the Segment control when it re-displays so nothing is selected ?
or
2) How to enable the segment control to respond to the same event if already selected ?
Suggestions appreciated !
|