Function

ABSave(_:)

Saves all the changes made since the last save.

Declaration

func ABSave(_ addressBook: ABAddressBookRef!) -> Bool

Parameters

addressBook

The address book for the logged-in user.

Return Value

true if this function is successful or if there were no changes, false otherwise.

See Also

Address Book

func ABGetSharedAddressBook() -> Unmanaged<ABAddressBookRef>!

Returns the unique shared ABAddressBook object.

func ABCopyDefaultCountryCode(ABAddressBookRef!) -> Unmanaged<CFString>!

Returns the default country code for records with unspecified country codes.

func ABHasUnsavedChanges(ABAddressBookRef!) -> Bool

Returns whether if there are unsaved changes in the address book.