<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessorySetupKit",
  "identifier" : "/documentation/AccessorySetupKit/ASPickerDisplaySettings/Options-swift.struct/filterDiscoveryResults",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AccessorySetupKit"
    ],
    "preciseIdentifier" : "c:@E@ASPickerDisplaySettingsOptions@ASPickerDisplaySettingsOptionFilterDiscoveryResults"
  },
  "title" : "filterDiscoveryResults"
}
-->

# filterDiscoveryResults

An option to pass discovered accessories to the app for more custom filtering, before they’re displayed in the picker for selection.

```
static var filterDiscoveryResults: ASPickerDisplaySettings.Options { get }
```

## Discussion

When your picker uses this option, your [`ASAccessorySession`](/documentation/AccessorySetupKit/ASAccessorySession) receives events of type [`ASAccessoryEventType.accessoryDiscovered`](/documentation/AccessorySetupKit/ASAccessoryEventType/accessoryDiscovered).
Handle this event by examining the discovered accessory.
To include it in the picker, create a new [`ASDiscoveredDisplayItem`](/documentation/AccessorySetupKit/ASDiscoveredDisplayItem) for it and call [`updatePicker(showing:completionHandler:)`](/documentation/AccessorySetupKit/ASAccessorySession/updatePicker(showing:completionHandler:)).

---

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)