---
title: UIStepper
framework: uikit
role: symbol
role_heading: Class
path: uikit/uistepper
---

# UIStepper

A control for incrementing or decrementing a value.

## Declaration

```swift
@MainActor class UIStepper
```

## Mentioned in

Attaching gesture recognizers to UIKit controls

## Overview

Overview By default, pressing and holding a stepper’s button increments or decrements the stepper’s value repeatedly. The rate of change depends on how long the user continues pressing the control. To turn off this behavior, set the autorepeat property to false. The maximum value must be greater than or equal to the minimum value. If you set a maximum or minimum value that would break this invariant, both values are set to the new value. For example, if the minimum value is 200 and you set a maximum value of 100, then both the minimum and maximum become 200.

## Topics

### Configuring the stepper

- [isContinuous](uikit/uistepper/iscontinuous.md)
- [autorepeat](uikit/uistepper/autorepeat.md)
- [wraps](uikit/uistepper/wraps.md)
- [minimumValue](uikit/uistepper/minimumvalue.md)
- [maximumValue](uikit/uistepper/maximumvalue.md)
- [stepValue](uikit/uistepper/stepvalue.md)

### Accessing the stepper’s value

- [value](uikit/uistepper/value.md)

### Customizing appearance

- [backgroundImage(for:)](uikit/uistepper/backgroundimage(for:).md)
- [setBackgroundImage(_:for:)](uikit/uistepper/setbackgroundimage(_:for:).md)
- [decrementImage(for:)](uikit/uistepper/decrementimage(for:).md)
- [setDecrementImage(_:for:)](uikit/uistepper/setdecrementimage(_:for:).md)
- [dividerImage(forLeftSegmentState:rightSegmentState:)](uikit/uistepper/dividerimage(forleftsegmentstate:rightsegmentstate:).md)
- [setDividerImage(_:forLeftSegmentState:rightSegmentState:)](uikit/uistepper/setdividerimage(_:forleftsegmentstate:rightsegmentstate:).md)
- [incrementImage(for:)](uikit/uistepper/incrementimage(for:).md)
- [setIncrementImage(_:for:)](uikit/uistepper/setincrementimage(_:for:).md)

## Relationships

### Inherits From

- [UIControl](uikit/uicontrol.md)

### Conforms To

- [CALayerDelegate](quartzcore/calayerdelegate.md)
- [CLBodyIdentifiable](corelocation/clbodyidentifiable.md)
- [CMBodyIdentifiable](coremotion/cmbodyidentifiable.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [UIAccessibilityIdentification](uikit/uiaccessibilityidentification.md)
- [UIActivityItemsConfigurationProviding](uikit/uiactivityitemsconfigurationproviding.md)
- [UIAppearance](uikit/uiappearance.md)
- [UIAppearanceContainer](uikit/uiappearancecontainer.md)
- [UIContextMenuInteractionDelegate](uikit/uicontextmenuinteractiondelegate.md)
- [UICoordinateSpace](uikit/uicoordinatespace.md)
- [UIDynamicItem](uikit/uidynamicitem.md)
- [UIFocusEnvironment](uikit/uifocusenvironment.md)
- [UIFocusItem](uikit/uifocusitem.md)
- [UIFocusItemContainer](uikit/uifocusitemcontainer.md)
- [UILargeContentViewerItem](uikit/uilargecontentvieweritem.md)
- [UIPasteConfigurationSupporting](uikit/uipasteconfigurationsupporting.md)
- [UIPopoverPresentationControllerSourceItem](uikit/uipopoverpresentationcontrollersourceitem.md)
- [UIResponderStandardEditActions](uikit/uiresponderstandardeditactions.md)
- [UITraitChangeObservable](uikit/uitraitchangeobservable-67e94.md)
- [UITraitEnvironment](uikit/uitraitenvironment.md)
- [UIUserActivityRestoring](uikit/uiuseractivityrestoring.md)

## See Also

### Controls

- [Responding to control-based events using target-action](uikit/responding-to-control-based-events-using-target-action.md)
- [UIControl](uikit/uicontrol.md)
- [UIButton](uikit/uibutton.md)
- [UIColorWell](uikit/uicolorwell.md)
- [UIDatePicker](uikit/uidatepicker.md)
- [UIPageControl](uikit/uipagecontrol.md)
- [UISegmentedControl](uikit/uisegmentedcontrol.md)
- [UISlider](uikit/uislider.md)
- [UISwitch](uikit/uiswitch.md)
