<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ExternalAccessory",
  "identifier" : "/documentation/ExternalAccessory/EAAccessoryDidConnectNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "External Accessory"
    ],
    "preciseIdentifier" : "c:@EAAccessoryDidConnectNotification"
  },
  "title" : "EAAccessoryDidConnectNotification"
}
-->

# EAAccessoryDidConnectNotification

A notification that the system sends when an accessory becomes connected and available for your application to use.

```
extern NSString * const EAAccessoryDidConnectNotification;
```

## Discussion

The notification object is the shared accessory manager. The `userInfo` dictionary contains an [`EAAccessoryKey`](/documentation/ExternalAccessory/EAAccessoryKey), whose value is an [`EAAccessory`](/documentation/ExternalAccessory/EAAccessory) object representing the accessory that is now connected. If a Bluetooth accessory was selected by the user in the Bluetooth picker, this dictionary contains the [`EAAccessorySelectedKey`](/documentation/ExternalAccessory/EAAccessorySelectedKey) key. Before delivery of this notification can occur, you must call the [`registerForLocalNotifications()`](/documentation/ExternalAccessory/EAAccessoryManager/registerForLocalNotifications()) method to let the system know you are interested in receiving this notification.

After receiving this notification, always check the [`protocolStrings`](/documentation/ExternalAccessory/EAAccessory/protocolStrings) array of the newly connected accessory object to verify that the required protocol is present before trying to open a session. In some cases, the system may send the connection notification before authentication has completed, resulting in an empty [`protocolStrings`](/documentation/ExternalAccessory/EAAccessory/protocolStrings) array and a subsequent disconnection message. If this happens, the system sends another connection message later, when authentication succeeds.

> Important:
> iPhone and iPad apps running on Macs with Apple silicon never receive this notification.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)