Function

ABCopyRecordForUniqueId(_:_:)

Returns the record that matches the given unique ID.

Declaration

func ABCopyRecordForUniqueId(_ addressBook: ABAddressBookRef!, _ uniqueId: CFString!) -> Unmanaged<ABRecordRef>!

Parameters

addressBook

The address book for the logged-in user.

uniqueId

A unique ID for the record. If this is NULL, this function raises an exception.

Return Value

The record that matches the given unique ID. If no record matches uniqueId, the function returns NULL. You are responsible for releasing this object.