<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoCaptureDelegate/photoOutput(_:didCapturePhotoFor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCapturePhotoCaptureDelegate(im)captureOutput:didCapturePhotoForResolvedSettings:"
  },
  "title" : "photoOutput(_:didCapturePhotoFor:)"
}
-->

# photoOutput(_:didCapturePhotoFor:)

Notifies the delegate that the photo has been taken.

```
optional func photoOutput(_ output: AVCapturePhotoOutput, didCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings)
```

## Parameters

`output`

The photo output performing the capture.

`resolvedSettings`

An object describing the settings used for this capture. Match this object’s [`uniqueID`](/documentation/AVFoundation/AVCapturePhotoSettings/uniqueID) value to the [`uniqueID`](/documentation/AVFoundation/AVCapturePhotoSettings/uniqueID) property of the photo settings object you initiated capture with to determine which capture request this delegate call corresponds to. You can also use this object to find out which values the photo output has chosen for automatic settings.

## Discussion

The photo output calls this method as soon as the first step of capture ends—that is, at the end of the photographic exposure time.

---

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)