Creates a photo settings object for RAW-format-only capture with the specified pixel format.
- iOS 10.0+
- Mac Catalyst 13.0+
The Bayer RAW pixel format type to use for capture. This value must be one of the format identifiers listed in the
availablearray of your photo capture output.
Raw Photo Pixel Format Types
A new photo settings object.
Use this initializer for RAW-only capture. To capture an image in both RAW format and a processed format (such as JPEG), use the
photo initializer instead.
Requesting RAW format capture adds requirements for other photo settings: for details, see the
raw property. The capture output validates these requirements when you call the
capture method. If your settings and delegate do not meet these requirements, that method raises an exception.