---
title: currentLensAperture
framework: AVFoundation
role: symbol
role_heading: Type Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, tvOS 27.0+]
path: avfoundation/avcapturedevice/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.

## Declaration

```swift
class let currentLensAperture: Float
```

## Discussion

Discussion This value may be passed to 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 may be locked to different value than the value obtained by querying the property.

## See Also

### Configuring exposure manually

- [setExposureModeCustom(duration:iso:completionHandler:)](avfoundation/avcapturedevice/setexposuremodecustom(duration:iso:completionhandler:).md)
- [setExposureModeCustom(lensAperture:duration:iso:completionHandler:)](avfoundation/avcapturedevice/setexposuremodecustom(lensaperture:duration:iso:completionhandler:).md)
- [autoExposureDuration](avfoundation/avcapturedevice/autoexposureduration.md)
- [autoISO](avfoundation/avcapturedevice/autoiso.md)
- [autoLensAperture](avfoundation/avcapturedevice/autolensaperture.md)
- [exposureDuration](avfoundation/avcapturedevice/exposureduration.md)
- [iso](avfoundation/avcapturedevice/iso.md)
- [lensAperture](avfoundation/avcapturedevice/lensaperture.md)
- [activeMaxExposureDuration](avfoundation/avcapturedevice/activemaxexposureduration.md)
- [automaticallyAdjustsExposureDuration](avfoundation/avcapturedevice/automaticallyadjustsexposureduration.md)
- [automaticallyAdjustsISO](avfoundation/avcapturedevice/automaticallyadjustsiso.md)
- [automaticallyAdjustsLensAperture](avfoundation/avcapturedevice/automaticallyadjustslensaperture.md)
- [autoExposureLensApertureRateLimit](avfoundation/avcapturedevice/autoexposurelensapertureratelimit.md)
