TouchBarSegmentedControl
Properties
Link copied to clipboard
A string
representing the current selection mode of the control. Can be single
, multiple
or buttons
.
Link copied to clipboard
A SegmentedControlSegment[]
array representing the segments in this control. Updating this value immediately updates the control in the touch bar. Updating deep properties inside this array does not update the touch bar.
Link copied to clipboard
A string
representing the controls current segment style. Updating this value immediately updates the control in the touch bar.
Link copied to clipboard
An Integer
representing the currently selected segment. Changing this value immediately updates the control in the touch bar. User interaction with the touch bar will update this value automatically.