Contents

preferredBehavioralStyle

The preferred behavioral style.

Declaration

var preferredBehavioralStyle: UIBehavioralStyle { get set }

Mentioned in

Discussion

Use this property to specify the behavioral style for the slider. 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 behavior styles, see UIBehavioralStyle.

See Also

Modifying the slider’s behavior