Type Property

builtInDualWideCamera

A device that consists of two cameras of fixed focal length, one ultrawide angle and one wide angle.

Declaration

static let builtInDualWideCamera: AVCaptureDevice.DeviceType

Discussion

The built-in dual camera supports the following features:

  • Automatic switching from one camera to another when zoom factor, light level, and focus position allow.

  • Generating depth data by measuring the disparities between the images captured by the ultrawide and wide-angle cameras.

  • Delivery of photos from constituent ultrawide and wide-angle devices through a single photo capture request.

The built-in dual camera doesn’t support the following features:

Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to another. However, the overall exposure, white balance, and focus position should be consistent.

See Also

Capture Device Types

static let builtInDualCamera: AVCaptureDevice.DeviceType

A combination of wide-angle and telephoto cameras that creates a capture device.

static let builtInTripleCamera: AVCaptureDevice.DeviceType

A device that consists of three cameras of fixed focal length, one ultrawide angle, one wide angle, and one telephoto.

static let builtInUltraWideCamera: AVCaptureDevice.DeviceType

A built-in camera with a shorter focal length than that of a wide-angle camera.

static let builtInTelephotoCamera: AVCaptureDevice.DeviceType

A built-in camera device with a longer focal length than a wide-angle camera.

static let builtInTrueDepthCamera: AVCaptureDevice.DeviceType

A combination of cameras and other sensors that creates a capture device capable of photo, video, and depth capture.