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

# currentLensAperture

A special value that may be passed as the lensAperture parameter of a device’s `setExposureModeCustom...` methods to lock at the current position.

```
class let currentLensAperture: Float
```

## Discussion

This value may be passed to [`setExposureModeCustom(lensAperture:duration:iso:completionHandler:)`](/documentation/AVFoundation/AVCaptureDevice/setExposureModeCustom(lensAperture:duration:iso:completionHandler:)) to lock it to its current value. Note that the device may be adjusting the aperture at the time of the call, in which case [`lensAperture`](/documentation/AVFoundation/AVCaptureDevice/lensAperture) may be locked to different value than the value obtained by querying the property.

---

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)