---
title: "init(name:productImage:descriptor:)"
framework: accessorysetupkit
role: symbol
role_heading: Initializer
path: "accessorysetupkit/aspickerdisplayitem/init(name:productimage:descriptor:)"
---

# init(name:productImage:descriptor:)

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

## Declaration

```swift
init(name: String, productImage: UIImage, descriptor: ASDiscoveryDescriptor)
```

## Parameters

- `name`: The accessory name to display in the picker.
- `productImage`: An image of the accessory to display in the picker.
- `descriptor`: A descriptor that the picker uses to determine which discovered accessories to display.
