Contents

ABAddressBookCopyPeopleWithName(_:_:)

Performs a prefix search on the composite names of people in an address book and returns an array of persons that match the search criteria.

Declaration

func ABAddressBookCopyPeopleWithName(_ addressBook: ABAddressBook!, _ name: CFString!) -> Unmanaged<CFArray>!

Parameters

  • addressBook:

    The address book in which to search.

  • name:

    The search term. Examples: "Mary", "Smi", "Hu Yan".

Return Value

Array containing person records (ABRecordRef objects) that match name.

See Also

Deprecated