Contents

isVirtualDevice

A Boolean value that indicates whether the device consists of two or more physical devices.

Declaration

var isVirtualDevice: Bool { get }

Discussion

Examples of virtual devices are:

  • The dual camera, which supports seamless switching between wide-angle and telephoto cameras while zooming and generating depth data from the disparities between the points of view of the physical cameras.

  • The TrueDepth camera, which generates depth data from disparities between YUV and infrared cameras pointed in the same direction.

See Also

Inspecting device characteristics