Sets the number of steps for the slider.
- watchOS 2.0+
The number of steps between the minimum and maximum value. If the slider’s value is continuous, calling this method has no effect.
Each tap on the slider’s increment or decrement areas changes the slider value by one step. The value of each step is equal to the difference between the minimum and maximum values divided by the number of steps. For example, if the minimum value is
0, the maximum value is
1, and the number of steps is
10, each step increments or decrements the value by