<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessorySetupKit",
  "identifier" : "/documentation/AccessorySetupKit/ASPickerDisplayItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AccessorySetupKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ASPickerDisplayItem"
  },
  "title" : "ASPickerDisplayItem"
}
-->

# ASPickerDisplayItem

An accessory as presented by the discovery picker.

```
class ASPickerDisplayItem
```

## 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`](/documentation/AccessorySetupKit/ASDiscoveryDescriptor) that identifies the kind of accessories to match. Pass these in an array to [`showPicker(for:completionHandler:)`](/documentation/AccessorySetupKit/ASAccessorySession/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`](/documentation/AccessorySetupKit/ASPickerDisplayItem/descriptor), which contains various Bluetooth and Wi-Fi properties to match. The descriptor also allows you to set the [`bluetoothRange`](/documentation/AccessorySetupKit/ASDiscoveryDescriptor/bluetoothRange) of matched accessories; set its value to [`ASDiscoveryDescriptor.Range.immediate`](/documentation/AccessorySetupKit/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`](/documentation/AccessorySetupKit/ASPickerDisplayItem/setupOptions-swift.property) property, which is an option set (Swift) or bitfield (Objective-C) of behavior options. The defined options in [`ASPickerDisplayItem.SetupOptions`](/documentation/AccessorySetupKit/ASPickerDisplayItem/SetupOptions-swift.struct) 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: String, productImage: UIImage, descriptor: ASDiscoveryDescriptor)`](/documentation/AccessorySetupKit/ASPickerDisplayItem/init(name:productImage:descriptor:))

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

### Specifying discovery properties

[`var descriptor: ASDiscoveryDescriptor`](/documentation/AccessorySetupKit/ASPickerDisplayItem/descriptor)

A descriptor that the picker uses to determine which discovered accessories to display.

### Customizing display properties

[`var name: String`](/documentation/AccessorySetupKit/ASPickerDisplayItem/name)

The accessory name to display in the picker.

[`var productImage: UIImage`](/documentation/AccessorySetupKit/ASPickerDisplayItem/productImage)

An image of the accessory to display in the picker.

### Customizing setup options

[`var setupOptions: ASPickerDisplayItem.SetupOptions`](/documentation/AccessorySetupKit/ASPickerDisplayItem/setupOptions-swift.property)

Custom setup options for the accessory.

[`struct SetupOptions`](/documentation/AccessorySetupKit/ASPickerDisplayItem/SetupOptions-swift.struct)

Setup options offered by the accessory picker.

[`var renameOptions: ASAccessory.RenameOptions`](/documentation/AccessorySetupKit/ASPickerDisplayItem/renameOptions)

Options to allow renaming a matched accessory.

[`struct RenameOptions`](/documentation/AccessorySetupKit/ASAccessory/RenameOptions)

Options that affect the behavior of an accessory renaming operation.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Inherited By

[`ASMigrationDisplayItem`](/documentation/AccessorySetupKit/ASMigrationDisplayItem)

[`ASDiscoveredDisplayItem`](/documentation/AccessorySetupKit/ASDiscoveredDisplayItem)

---

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)