A device that consists of two cameras of fixed focal length, one ultrawide angle and one wide angle.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
static let builtInDualWideCamera: AVCapture Device.Device Type
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:
AVCapture
and manual exposure bracketing.Device .Exposure Mode .custom Locking focus with a lens position other than
current
.Lens Position Locking automatic white balance with device white balance gains other than
current
.White Balance Gains
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.
Note
You can only discover this device type using an AVCapture
or the AVCapture
default(_:
method.