Type Property


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


static let builtInTrueDepthCamera: AVCaptureDevice.DeviceType


Use this device type to access the TrueDepth camera on compatible devices (see iOS Device Compatibility Reference). On such devices, the builtInWideAngleCamera device type delivers only photo or video. To also capture depth maps (either with still photos using the AVCapturePhotoSettings isDepthDataDeliveryEnabled, or as a live stream using the AVCaptureDepthDataOutput class), use this capture device type instead.

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 builtInTelephotoCamera: AVCaptureDevice.DeviceType

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

static let externalUnknown: AVCaptureDevice.DeviceType

An unknown external device type.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software