---
title: ASPickerDisplayItem
framework: accessorysetupkit
role: symbol
role_heading: Class
path: accessorysetupkit/aspickerdisplayitem
---

# ASPickerDisplayItem

An accessory as presented by the discovery picker.

## Declaration

```swift
class ASPickerDisplayItem
```

## Mentioned in

Discovering and configuring accessories

## Overview

Overview Create instances of ASPickerDisplayItem that describe the accessories you want to discover. Each item contains a name and product image to display, plus an ASDiscoveryDescriptor that identifies the kind of accessories to match. Pass these in an array to showPicker(for:completionHandler:) to display a picker that allows the person using your app to discover and select nearby accessories. Filter the matched accessories by supplying a descriptor, which contains various Bluetooth and Wi-Fi properties to match. The descriptor also allows you to set the bluetoothRange of matched accessories; set its value to ASDiscoveryDescriptor.Range.immediate to limit discovery of Bluetooth accessories to those within the immediate proximity of the device running your app. To enable different behaviors during setup, use the setupOptions property, which is an option set (Swift) or bitfield (Objective-C) of behavior options. The defined options in ASPickerDisplayItem.SetupOptions allow you to specify behaviors like allowing renaming of the accessory during setup, or confirming accessory authorization before showing the setup view.

## Topics

### Creating a display item

- [init(name:productImage:descriptor:)](accessorysetupkit/aspickerdisplayitem/init(name:productimage:descriptor:).md)

### Specifying discovery properties

- [descriptor](accessorysetupkit/aspickerdisplayitem/descriptor.md)

### Customizing display properties

- [name](accessorysetupkit/aspickerdisplayitem/name.md)
- [productImage](accessorysetupkit/aspickerdisplayitem/productimage.md)

### Customizing setup options

- [setupOptions](accessorysetupkit/aspickerdisplayitem/setupoptions-swift.property.md)
- [ASPickerDisplayItem.SetupOptions](accessorysetupkit/aspickerdisplayitem/setupoptions-swift.struct.md)
- [renameOptions](accessorysetupkit/aspickerdisplayitem/renameoptions.md)
- [ASAccessory.RenameOptions](accessorysetupkit/asaccessory/renameoptions.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [ASDiscoveredDisplayItem](accessorysetupkit/asdiscovereddisplayitem.md)
- [ASMigrationDisplayItem](accessorysetupkit/asmigrationdisplayitem.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Displaying picker items

- [ASDiscoveredDisplayItem](accessorysetupkit/asdiscovereddisplayitem.md)
- [ASMigrationDisplayItem](accessorysetupkit/asmigrationdisplayitem.md)
