<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Contacts",
  "identifier" : "/documentation/Contacts/CNContact/predicateForContacts(matching:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Contacts"
    ],
    "preciseIdentifier" : "c:objc(cs)CNContact(cm)predicateForContactsMatchingPhoneNumber:"
  },
  "title" : "predicateForContacts(matching:)"
}
-->

# predicateForContacts(matching:)

Returns a predicate to find the contacts whose phone number matches the specified value.

```
class func predicateForContacts(matching phoneNumber: CNPhoneNumber) -> NSPredicate
```

## Parameters

`phoneNumber`

The phone number to be matched.

## Return Value

A predicate that you can use to fetch contacts from [`CNContactStore`](/documentation/Contacts/CNContactStore).

---

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)