---
title: "init(name:productImage:accessory:)"
framework: accessorysetupkit
role: symbol
role_heading: Initializer
path: "accessorysetupkit/asdiscovereddisplayitem/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.

## Declaration

```swift
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.
