isConnected
A Boolean value that indicates whether a device is currently connected to the system and available for use.
Declaration
var isConnected: Bool { get }Discussion
When the value of this property is false for a particular capture device instance, it doesn’t become true again. If the same physical device reconnects, the system represents it as a new capture device instance.
You can key-value observe this property value to monitor when a device is no longer available.