Instance Property


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


@property(nonatomic, readonly) NSUInteger connectionID;


The connection ID uniquely identifies this accessory to the device. If multiple accessories of the same type are connected to the device, you can use this information to distinguish between them.

The connection ID for an accessory persists only for the duration of the current connection. If the accessory is disconnected and reconnected, a new connection ID is assigned.

See Also

Getting Connection Information


A Boolean value indicating whether the accessory is currently connected 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