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

# maximumTrackTintColor

The color used to tint the default maximum track images.

```
var maximumTrackTintColor: UIColor? { get set }
```

## Discussion

Setting this property resets the maximum track images back to the slider’s default images; any custom images are released by the slider. Setting this property to `nil` resets the tint color to the default and removes any custom maximum track images.

> Important:
> This property isn’t available when the user interface idiom is ``doc://com.apple.uikit/documentation/UIKit/UIUserInterfaceIdiom/mac`` and ``doc://com.apple.uikit/documentation/UIKit/UISlider/behavioralStyle`` is ``doc://com.apple.uikit/documentation/UIKit/UIBehavioralStyle/mac`` — setting it while in this state throws an exception.

---

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)