Contents

setColor(_:)

Sets the color of the slider bar.

Declaration

func setColor(_ color: UIColor?)

Parameters

  • color:

    The custom color to be applied to the slider bar. Specifying nil removes the custom color and returns the slider to the color specified in the storyboard file. The default slider bar color is green.

See Also

Setting the Slider Value