---
title: "adjust(toNormalizedSliderPosition:)"
framework: xcuiautomation
role: symbol
role_heading: Instance Method
path: "xcuiautomation/xcuielement/adjust(tonormalizedsliderposition:)"
---

# adjust(toNormalizedSliderPosition:)

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

## Declaration

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

## Discussion

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.

## See Also

### Interacting with sliders

- [normalizedSliderPosition](xcuiautomation/xcuielement/normalizedsliderposition.md)
