开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜