Instance Property


The maximum value of the slider.


var maximumValue: Float { get set }


Use this property to set the value that the trailing end of the slider represents. If you change the value of this property, and the current value of the slider is above the new maximum, the slider adjusts the value property to match the new maximum. If you set the maximum value to a value smaller than the minimum, the slider updates the minimum value to equal the maximum.

The default value of this property is 1.0.

See Also

Accessing the Slider’s Value Limits

var minimumValue: Float

The minimum value of the slider.