Global Variable


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


const AVCaptureDeviceType AVCaptureDeviceTypeBuiltInTrueDepthCamera;


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


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


A built-in wide-angle camera.


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


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