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

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

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.