Contents

preferredBehavioralStyle

The preferred behavioral style.

Declaration

var preferredBehavioralStyle: UIBehavioralStyle { get set }

Discussion

Use this property to specify the behavioral style for the button. If the value of the property is UIBehavioralStyle.automatic, use the behavioralStyle property to determine the actual style.

The default value for preferredBehavioralStyle is UIBehavioralStyle.automatic. To learn more about behavioral styles, see UIBehavioralStyle.

See Also

Specifying the behavioral style