<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoSettings/isDepthDataDeliveryEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoSettings(py)depthDataDeliveryEnabled"
  },
  "title" : "isDepthDataDeliveryEnabled"
}
-->

# isDepthDataDeliveryEnabled

A Boolean value that determines whether the photo output captures depth data along with the photo.

```
var isDepthDataDeliveryEnabled: Bool { get set }
```

## Discussion

When this property is  <doc://com.apple.documentation/documentation/Swift/false> (the default), the capture output produces only photo data and metadata.

If you change this property to <doc://com.apple.documentation/documentation/Swift/true>, the capture output records per-pixel scene depth information and delivers an [`AVDepthData`](/documentation/AVFoundation/AVDepthData) object in the photo capture results. Enabling depth capture for a photo capture request requires that the photo output first be configured for depth capture using its own [`isDepthDataDeliveryEnabled`](/documentation/AVFoundation/AVCapturePhotoOutput/isDepthDataDeliveryEnabled) property (and raises an exception otherwise).

> Note:
> Enabling depth capture along with photo capture adds significant processing time before delivery of results to your delegate’s ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCapturePhotoCaptureDelegate/photoOutput(_:didFinishProcessingPhoto:error:)`` method.

---

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)