Function

ABRemoveRecord(_:_:)

Removes the specified record from the Address Book database.

Declaration

func ABRemoveRecord(_ addressBook: ABAddressBookRef!, _ record: ABRecordRef!) -> Bool

Parameters

addressBook

The address book for the logged-in user.

record

The ABRecord object to be removed. If NULL, this function raises an exception.

Return Value

true if the record was removed successfully, false otherwise.