removeAllSegments() Removes all segments of the segmented control. Declarationfunc removeAllSegments() See AlsoManaging segmentsnumberOfSegmentssegmentIndex(identifiedBy:)insertSegment(action:at:animated:)insertSegment(with:at:animated:)insertSegment(withTitle:at:animated:)removeSegment(at:animated:)selectedSegmentIndexnoSegment