<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/currentExposureDuration",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@AVCaptureExposureDurationCurrent"
  },
  "title" : "currentExposureDuration"
}
-->

# currentExposureDuration

A special constant representing the current exposure duration setting.

```
class let currentExposureDuration: CMTime
```

## Discussion

Pass this value to [`setExposureModeCustom(duration:iso:completionHandler:)`](/documentation/AVFoundation/AVCaptureDevice/setExposureModeCustom(duration:iso:completionHandler:)) to lock exposure duration to its current value (that’s, to disable autoexposure).

---

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)