Contents

isMomentary

A Boolean value that determines whether segments in the segmented control show selected state.

Declaration

var isMomentary: Bool { get set }

Discussion

The default value of this property is false. If it’s set to true, segments in the control don’t show selected state and don’t update the value of selectedSegmentIndex after tracking ends.

See Also

Managing segment behavior and appearance