Global Variable


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


const AVCaptureDeviceType AVCaptureDeviceTypeBuiltInDualCamera;


The capture device created is capable of photo, video, and depth capture, with enhanced zoom and dual-image capture features.

Devices of this type support the following new features:

  • Automatic switching between cameras to obtain a higher quality image for the current combination of zoom factor, light level, and focus position.

  • Capturing higher-quality still images when zoomed in, by automatically fusing images from both cameras.

Devices of this type do not support:

  • Custom exposure modes and manual exposure bracketing.

  • Locking focus with a specific lens position.

  • Locking white balance with a specific white balance gains setting.

To use these features, specifically select the AVCaptureDeviceTypeBuiltInWideAngleCamera or AVCaptureDeviceTypeBuiltInTelephotoCamera device instead.

When using a dual-camera device, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device automatically switches between cameras, even while locked. However, the overall exposure, white balance, and focus position should remain generally consistent.

See Also

Capture Device Types


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


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


A built-in wide-angle camera.


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


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


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


An unknown external device type.