Instance Property

isConnected

A Boolean value indicating whether the accessory is currently connected to the iOS-based device.

Declaration

var isConnected: Bool { get }

See Also

Getting Connection Information

var connectionID: Int

The accessory’s unique ID for connecting to the iOS-based device.

Null Connection ID

The ID for an unconnected accessory.

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