Contents

style

The display style for the switch.

Declaration

var style: UISwitch.Style { get }

Discussion

This property returns the resolved style based on the user interface idiom, and never returns UISwitch.Style.automatic.

See Also

Setting the display style