Search code examples
iphoneaddressbook

iPhone Address Book custom property


I am developing an application which is similar to native contact book app of iphone. I want to add additional property/field in native iphone address book database. e.g. network carrier of each contact (AT&T).

How to access the database of native address book from our app? Is that possible to do?


Solution

  • You cannot add custom fields. You can add data into the Notes field, but not add any custom fields into the AddressBook Person class. You can extend the AddressBook but you will need to save the data somewhere else and link the Person to the data you saved.

    You can access the data from the address book using the AddressBook framework.