---
title: simulatedAperture
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedeviceinput/simulatedaperture
---

# simulatedAperture

Shallow depth of field simulated aperture.

## Declaration

```swift
var simulatedAperture: Float { get set }
```

## Discussion

Discussion When capturing a Cinematic Video, use this property to control the amount of blur in the simulated depth of field effect. This property only takes effect when isCinematicVideoCaptureEnabled is set to true. important: Setting this property to a value less than the AVCaptureDevice/activeFormat/minSimulatedAperture or greater than the AVCaptureDevice/activeFormat/maxSimulatedAperture throws an NSRangeException. you may only set this property if AVCaptureDevice/activeFormat/minSimulatedAperture returns a non-zero value, otherwise an NSInvalidArgumentException is thrown. You must set this property before starting a Cinematic Video capture. If you attempt to set it while a recording is in progress, an NSInvalidArgumentException is thrown. This property is initialized to the associated AVCaptureDevice/activeFormat/defaultSimulatedAperture. This property is key-value observable.

## See Also

### Configuring Cinematic video capture

- [isCinematicVideoCaptureSupported](avfoundation/avcapturedeviceinput/iscinematicvideocapturesupported.md)
- [isCinematicVideoCaptureEnabled](avfoundation/avcapturedeviceinput/iscinematicvideocaptureenabled.md)
