---
title: currentExposureDuration
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avcapturedevice/currentexposureduration
---

# currentExposureDuration

A special constant representing the current exposure duration setting.

## Declaration

```swift
class let currentExposureDuration: CMTime
```

## Discussion

Discussion Pass this value to setExposureModeCustom(duration:iso:completionHandler:) to lock exposure duration to its current value (that’s, to disable autoexposure).

## See Also

### Exposure constants

- [currentISO](avfoundation/avcapturedevice/currentiso.md)
