Function

ABHasUnsavedChanges

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

Declaration

bool ABHasUnsavedChanges(ABAddressBookRef addressBook);

Parameters

addressBook

The address book for the logged-in user.

Return Value

true if there are unsaved changes, false otherwise.

Discussion

The unsaved changes flag is set automatically whenever changes are made to the address book.

See Also

Address Book

ABGetSharedAddressBook

Returns the unique shared ABAddressBook object.

ABCopyDefaultCountryCode

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

ABSave

Saves all the changes made since the last save.