A UIStepper control provides a user interface for incrementing or decrementing a value.
A UIStepper
displays two buttons, one with a minus ("–") symbol and one with a plus ("+") symbol. The bounding rectangle for a stepper matches that of a UISwitch
object.
If you set stepper behavior to autorepeat
(which is the default), pressing and holding one of its buttons increments or decrements the stepper’s value repeatedly. The rate of change depends on how long the user continues pressing the control.