Class AVCapture Photo Settings
A specification of the features and settings to use for a single photo capture request.
iOS 10.0+ macOS 10.15+ Mac Catalyst 13.0+ Declaration @interface AVCapturePhotoSettings :
To take a photo, you create and configure a
object, then pass it to the
AVCapture Photo Settings AVCapture Photo Output method. capture Photo With Settings: delegate:
instance can include any combination of settings, regardless of whether that combination is valid for a given capture session. When you initiate a capture by passing a photo settings object to the
AVCapture Photo Settings AVCapture Photo Output method, the photo capture output validates your settings to ensure deterministic behavior. For example, the capture Photo With Settings: delegate: setting must specify a value that is present in the photo output’s flash Mode array. For detailed validation rules, see each property description below. supported Flash Modes Topics Creating Photo Settings format
A dictionary describing the processed format (for example, JPEG) to deliver captured photos in.
processed File Type
The container file format for eventual output of the processed image.
raw File Type
The container file format for eventual output of the RAW image.
A uniform type identifier for various file formats.
Uniquely Identifying a Settings Object unique ID
A unique identifier for this photo settings instance.
Enabling Preview and Thumbnail Delivery preview Photo Format
A dictionary describing the format for delivery of preview-sized images alongside the main photo.
Configuring Photo Settings flash Mode
A setting for whether to fire the flash when capturing photos.
high Resolution Photo Enabled
A Boolean value that specifies whether to capture still images at the highest resolution supported by the active device and format.
auto Dual Camera Fusion Enabled
A Boolean value that specifies whether captures automatically combine data from a dual camera device.
Deprecated Configuring Live Photo Settings Capturing Depth Data depth Data Delivery Enabled
A Boolean value that determines whether the photo output captures depth data along with the photo.
embeds Depth Data In Photo
A Boolean value that determines whether any depth data captured with the photo is included when generating output file data.
depth Data Filtered
A Boolean value that determines whether to smooth noise and fill in missing values in depth data output.
Capturing Portrait Effects Matte Capturing Semantic Segmentation Mattes Embedding Metadata metadata
A dictionary of metadata keys and values to embed in photo file output.
See Also Capturing a Photo AVCapture Photo Bracket Settings
A specification of the features and settings to use for a photo capture request that captures multiple images with varied settings.