An array of photo settings for which the photo output has prepared capture resources.
- iOS 10.0+
- Mac Catalyst 13.0+
Some types of photo capture, such as bracketed captures and RAW captures, require the photo output to allocate additional buffers or prepare other resources. To prevent photo capture requests from executing slowly due to lazy resource allocation, you may call the
set method with an array of settings objects representative of the types of capture you will be performing (such as settings for a bracketed capture, RAW capture, or capture with still image stabilization).
By default, the photo output prepares sufficient resources to capture photos with default settings (as defined by the
AVCapture default initializer).