iPhone Address Book custom property
I am developing an application which is similar to native contact book app of iphone. I want开发者_JAVA技巧 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?
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.
addPropertiesAndTypes is only available on Mac OS
精彩评论