<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/isPortraitEffectActive",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDevice(py)portraitEffectActive"
  },
  "title" : "isPortraitEffectActive"
}
-->

# isPortraitEffectActive

A Boolean value that indicates whether the Portrait video effect is active on a device.

```
var isPortraitEffectActive: Bool { get }
```

## Discussion

When active, the device blurs the background, simulating a shallow depth of field effect. The device also limits the values of its [`activeVideoMinFrameDuration`](/documentation/AVFoundation/AVCaptureDevice/activeVideoMinFrameDuration) and [`activeVideoMaxFrameDuration`](/documentation/AVFoundation/AVCaptureDevice/activeVideoMaxFrameDuration) to the value that the device format’s [`videoFrameRateRangeForPortraitEffect`](/documentation/AVFoundation/AVCaptureDevice/Format/videoFrameRateRangeForPortraitEffect) specifies.

When a capture device’s [`isPortraitEffectEnabled`](/documentation/AVFoundation/AVCaptureDevice/isPortraitEffectEnabled) property value is <doc://com.apple.documentation/documentation/Swift/true>, it may also return <doc://com.apple.documentation/documentation/Swift/true> for this property, depending on whether it supports the feature in its current configuration.

This property is key-value observable.

---

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)