---
title: value
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptureslider/value
---

# value

The current value of the slider.

## Declaration

```swift
var value: Float { get set }
```

## Discussion

Discussion The default value is the slider’s minimum value. You may set a value only if it’s within the slider’s minimum and maximum values, otherwise the system throws an exception. important: Only modify a slider’s value from the same dispatch queue that you specified in the control’s setActionQueue:action: method.

## See Also

### Accessing the control value

- [prominentValues](avfoundation/avcaptureslider/prominentvalues-199dz.md)
- [localizedValueFormat](avfoundation/avcaptureslider/localizedvalueformat.md)
