Answer the question
In order to leave comments, you need to log in
How to deselect segmentedControl?
How can I access the SELECTED segmentedControl property from code that deselects a segment?
It is necessary to make sure that none of the segments is selected.
Through the strobord in the properties, you can remove the SELECTED value from all segments, how to do this from the code?
To
make something like this programmatically
Answer the question
In order to leave comments, you need to log in
let sc = UISegmentedControl()
sc.selectedSegmentIndex = UISegmentedControl.noSegment
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question