Returns a Boolean value that indicates whether the receiver can be used in a capture session configured with the given preset.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
A capture session preset.
true if the receiver can be used with
AVCaptureSession instance can be associated with a preset that configures its inputs and outputs to fulfill common use cases. You can use this method to determine if the receiver can be used in a capture session with the given preset. For a list of preset constants, see
Inspecting Device Characteristics
var isVirtualDevice: Bool
A Boolean value that indicates whether the device is a virtual device consisting of two or more physical devices.