Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CNContactStore.ContactsMatchingPhoneNumber

Find the contacts whose phone number matches the specified value.

Component Version macOS Windows Linux Server iOS SDK
Contacts 10.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CNContactStore.ContactsMatchingPhoneNumber"; phoneNumber )   More

Parameters

Parameter Description Example
phoneNumber The phone number to be matched.

Result

Returns list or error.

Description

Find the contacts whose phone number matches the specified value.
Requires macOS 10.13 or newer.

See also

Release notes

Blog Entries

This function checks for a license.

Created 15th September 2020, last changed 15th September 2020


CNContactStore.ContactsMatchingName - CNContactStore.ContactsMatchingURL