<!--
{
  "availability" : [
    "iOS: 26.1.0 -",
    "iPadOS: 26.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessorySetupKit",
  "identifier" : "/documentation/AccessorySetupKit/ASAccessorySession/updatePicker(showing:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AccessorySetupKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAccessorySession(im)updatePickerShowingDiscoveredDisplayItems:completionHandler:"
  },
  "title" : "updatePicker(showing:completionHandler:)"
}
-->

# updatePicker(showing:completionHandler:)

Updates the picker with app-filtered accessories.

```
func updatePicker(showing displayItems: [ASDiscoveredDisplayItem], completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```
func updatePicker(showing displayItems: [ASDiscoveredDisplayItem]) async throws
```

## Parameters

`displayItems`

The app-filtered accessories to show in the picker.

`completionHandler`

A block or closure that executes after the updatePicker operation completes. The completion handler receives an <doc://com.apple.documentation/documentation/Foundation/NSError> instance if the operation encounters an error.

## Discussion

You use this method when your picker uses the [`filterDiscoveryResults`](/documentation/AccessorySetupKit/ASPickerDisplaySettings/Options-swift.struct/filterDiscoveryResults) option to enable manual filtering of discovered accessories.
After creating customized [`ASDiscoveredDisplayItem`](/documentation/AccessorySetupKit/ASDiscoveredDisplayItem) instances for included accessories, call this method to update the picker to show your app-filtered accessories with updated assets.

---

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)