Contents

automaticallyUpdateForSelection

A Boolean value that determines whether the style automatically updates when the button is in a selected state.

Declaration

var automaticallyUpdateForSelection: Bool { get set }

Discussion

The default value is true for the plain(), gray(), and tinted() configurations. Set this value to false to customize the selection behavior.