Contents

allowsToggleToOff

A Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.

Declaration

var allowsToggleToOff: Bool { get set }

Discussion

To implement a group of radio buttons where at least one option must remain in a selected state, set allowsToggleToOff to false on each button in the group.

See Also

Configuring Button Widget Annotations