Provides the delegate with the captured image and associated metadata resulting from a photo capture.
- iOS 11.0+
- macOS 10.15+Beta
- UIKit for Mac 13.0+Beta
The photo output performing the capture.
An object containing the captured image pixel buffer, along with any metadata and attachments captured along with the photo (such as a preview image or depth map).
This parameter is always non-
nil: if an error prevented successful capture, this object still contains metadata for the intended capture.
If the capture process could not proceed successfully, an error object describing the failure; otherwise,
Use this method to receive the results of photo capture regardless of format.
The photo output calls this method once for each primary image to be delivered in a capture request. If you request capture in both RAW and processed formats, this method fires once for each format. If you request a bracketed capture with multiple exposures, this method fires once for each exposure.