Function

ABCopyDefaultCountryCode

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

Declaration

CFStringRef ABCopyDefaultCountryCode(ABAddressBookRef addressBook);

Parameters

addressBook

The address book for the logged-in user.

Return Value

A string with the default country code. You are responsible for releasing this object.

See Also

Address Book

ABGetSharedAddressBook

Returns the unique shared ABAddressBook object.

ABHasUnsavedChanges

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

ABSave

Saves all the changes made since the last save.