Contents

setColor(_:)

Changes the tint color of the switch when it is on.

Declaration

func setColor(_ color: UIColor?)

Parameters

  • color:

    The tint color to use for the switch. Specify nil to use the default switch color.

See Also

Configuring the Switch