photoSettings
Creates a photo settings object with default settings.
Declaration
+ (instancetype) photoSettings;Return Value
A new photo settings object.
Discussion
Capturing a photo with default settings delivers a single image in JPEG format.
Requesting capture in a processed format (such as JPEG) adds requirements for other photo settings: for details, see the format property. The capture output validates these requirement when you call the capturePhoto(with:delegate:) method. If your settings and delegate don’t meet these requirement, that method raises an exception.