isDualCameraDualPhotoDeliveryEnabled
A Boolean value that determines whether a dual camera device delivers images from both cameras.
Declaration
var isDualCameraDualPhotoDeliveryEnabled: Bool { get set }Discussion
When this property is false (the default), and the photo output is configured with a capture device of the builtInDualCamera type, the photo output delivers a single main photo image for each capture. (The device determines how to produce that image from one or both cameras).
If you change this setting to true, your delegate’s photoOutput(_:didFinishProcessingPhoto:error:) method fires at least twice for each main image—once for the telephoto image and again for the wide-angle image. Setting this property to true when not using a dual-camera device raises an exception.
See Also
Configuring photo settings
flashModeisAutoRedEyeReductionEnabledmaxPhotoDimensionsphotoQualityPrioritizationisCameraCalibrationDataDeliveryEnabledisAutoContentAwareDistortionCorrectionEnabledisAutoVirtualDeviceFusionEnabledvirtualDeviceConstituentPhotoDeliveryEnabledDevicesisAutoDualCameraFusionEnabledisAutoStillImageStabilizationEnabledisHighResolutionPhotoEnabled