ABAddRecord(_:_:)
Adds a record of the specified type to the Address Book database.
Declaration
func ABAddRecord(_ addressBook: ABAddressBookRef!, _ record: ABRecordRef!) -> BoolParameters
- addressBook:
The address book for the logged-in user.
- record:
The record to add to the Address Book database. If this parameter is
NULL, the function raises an exception.
Return Value
true if the record was added successfully, false otherwise.