<!--
{
  "availability" : [
    "Xcode: 16.3.0 -",
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "XCUIAutomation",
  "identifier" : "/documentation/XCUIAutomation/XCUIElement/adjust(toNormalizedSliderPosition:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "XCUIAutomation"
    ],
    "preciseIdentifier" : "c:objc(cs)XCUIElement(im)adjustToNormalizedSliderPosition:"
  },
  "title" : "adjust(toNormalizedSliderPosition:)"
}
-->

# adjust(toNormalizedSliderPosition:)

Manipulates the UI to change the value the slider displays to a new value, based on a normalized position.

```
func adjust(toNormalizedSliderPosition normalizedSliderPosition: CGFloat)
```

## Discussion

A normalized slider value of `0` corresponds to the minimum value of the slider, and `1` corresponds to the maximum value.

> Note:
> The adjustment is a best effort to move the indicator to the desired position; absolute fidelity isn’t guaranteed.

---

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)