<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABPeoplePickerView/clearSearchField(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:objc(cs)ABPeoplePickerView(im)clearSearchField:"
  },
  "title" : "clearSearchField(_:)"
}
-->

# clearSearchField(_:)

Clears the search field and resets the list of displayed records.

```
func clearSearchField(_ sender: Any!)
```

## Parameters

`sender`

The object sending this message.

## Discussion

---

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)