<!--
{
  "availability" : [
    "iOS: 26.1.0 -",
    "iPadOS: 26.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessorySetupKit",
  "identifier" : "/documentation/AccessorySetupKit/ASDiscoveredDisplayItem/init(name:productImage:accessory:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AccessorySetupKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ASDiscoveredDisplayItem(im)initWithName:productImage:accessory:"
  },
  "title" : "init(name:productImage:accessory:)"
}
-->

# init(name:productImage:accessory:)

Creates a discovered picker display item with a name and image to display and a descriptor to match discovered accessories.

```
init(name: String, productImage: UIImage, accessory: ASDiscoveredAccessory)
```

## Parameters

`name`

The accessory name to display in the picker.

`productImage`

An image of the accessory to display in the picker.

`accessory`

App filtered accessory to display in the 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)