The accessory’s unique ID for connecting to the iOS-based device.
- iOS 3.0+
- macOS 10.13+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
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.