Manually set exposure for iOS camera in Swift 4

1.5k views Asked by At

How can I set Aperture and how it will effect in image? I have managed ISO and shutter speed.but I am not able to set Aperture value.

1

There are 1 answers

2
DonMag On BEST ANSWER

The Aperture is a fixed mechanical size and cannot be changed - neither through code nor device settings.

You can get the aperture (the size of the lens diaphragm) via the AVCaptureDevice .lensAperture property, but you cannot change it.

Apple Docs: https://developer.apple.com/documentation/avfoundation/avcapturedevice/1624589-lensaperture