Creates a unique photo settings object, copying all settings values from the specified photo settings object.
- iOS 10.0+
- macOS 10.15+
- Mac Catalyst 13.0+
The photo settings object from which to copy settings.
A new photo settings object.
It is illegal to reuse a
AVCapture instance for multiple captures. Calling the
capture method throws an exception if the
unique value of the
settings parameter matches that of any previously used settings object.
To reuse a specific combination of settings, use this initializer to create a new
AVCapture instance from an existing photo settings object. The newly created instance has a new, unique value for its
unique property, but copies the values for all other properties from the