Hello I have a UISegmentedControl with two segments. The selected segment is modified programmatically in some case and by the user in some other. I only want to trigger the selector when the change is due to a user action(only when user actually press the segmented control and not when the system do segmentedControl.selectedSegmentIndex = …). Any idea?
Hello I have a UISegmentedControl with two segments. The selected segment is modified programmatically
Share
If you do
This will not call the action of valueChanged on the segment, so what is your question?