Address Book UI and Address Book frameworks

iOS系统的关于操作通讯录的框架

Address Book UI中提供了系统的UI界面,方便开发

Address Book 提供了直接访问Address Book数据库的方法(满足某些开发中访问Address Book中的数据的需求)

系统框架(Address Book UI)提供了四个控制器

ABPeoplePickerNavigationController prompts the user to select a person record from their address book.

ABPersonViewController displays a person record to the user and optionally allows editing.

ABNewPersonViewController prompts the user create a new person record.

ABUnknownPersonViewController prompts the user to complete a partial person record, optionally allows them to add it to the address book.

官方Demo

https://developer.apple.com/library/ios/samplecode/QuickContacts/Introduction/Intro.html

还有,调试的发现,App运行的时候,改变App的通讯录的授权,App会崩溃,查阅资料后发现是系统造成的。

你可能感兴趣的:(Address Book UI and Address Book frameworks)