<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIStepper/maximumValue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIStepper(py)maximumValue"
  },
  "title" : "maximumValue"
}
-->

# maximumValue

The highest possible numeric value for the stepper.

```
var maximumValue: Double { get set }
```

## Discussion

Must be numerically greater than [`minimumValue`](/documentation/UIKit/UIStepper/minimumValue). If you attempt to set a value equal to or lower than [`minimumValue`](/documentation/UIKit/UIStepper/minimumValue), the system raises an <doc://com.apple.documentation/documentation/Foundation/NSExceptionName/invalidArgumentException> exception.

The default value of this property is `100`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)