Contents

setValue(_:)

Changes the value of the slider.

Declaration

func setValue(_ value: Float)

Parameters

  • value:

    The new value for the slider. If the new value is outside of the slider’s acceptable range, this method clamps the new value to the minimum or maximum value.

See Also

Related Documentation

  • App Programming Guide for watchOS

Setting the Slider Value