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

# EAAccessorySelectedKey

A key that indicates the accessory object that the user selected.

```
let EAAccessorySelectedKey: String
```

## Discussion

The value assigned to this key is the [`EAAccessory`](/documentation/ExternalAccessory/EAAccessory) object that the user selected. This key is included in the info dictionary when the user pairs a Bluetooth accessory with the device using the Bluetooth picker.

---

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)