isDualCameraFusionEnabled
A Boolean value indicating whether this capture combines image data from a dual camera.
Declaration
var isDualCameraFusionEnabled: Bool { get }Discussion
This property corresponds to the AVCapturePhotoSettings property isAutoDualCameraFusionEnabled.
When this value is true, a dual-camera device automatically combines samples from both cameras to produce a higher quality image. This property applies only when using the builtInDualCamera device type on supported devices.
If you specify automatic image fusion when requesting a capture, the device automatically chooses whether to use image fusion based on the scene conditions at the moment of capture. Therefore, you don’t know whether the system uses image fusion until right before the moment of capture. When the photo output calls your photoOutput(_:willBeginCaptureFor:) method (or other delegate methods that occur later in the capture process), you can use this property to determine whether image fusion is active.