Global Variable

AVCaptureDeviceTypeBuiltInTrueDepthCamera

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

Declaration

const AVCaptureDeviceType AVCaptureDeviceTypeBuiltInTrueDepthCamera;

Discussion

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

See Also

Capture Device Types

AVCaptureDeviceTypeBuiltInDualCamera

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

AVCaptureDeviceTypeBuiltInWideAngleCamera

A built-in wide-angle camera.

AVCaptureDeviceTypeBuiltInTelephotoCamera

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

AVCaptureDeviceTypeExternalUnknown

An unknown external device type.

Beta

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