setTag(_:forSegment:) Declarationfunc setTag(_ tag: Int, forSegment segment: Int) See AlsoManaging tags and tooltipstag(forSegment:)setToolTip(_:forSegment:)toolTip(forSegment:)