开发者

contacts screen

开发者 https://www.devze.com 2023-02-08 06:39 出处:网络
i want to dis开发者_如何学Goplay no of contacts in the table view like iPhone native phone app how can i do itCheck this blog.

i want to dis开发者_如何学Goplay no of contacts in the table view like iPhone native phone app how can i do it


Check this blog.

Start by looking at ABAddressBook which will allow you to retrieve address book records. It is well documented by Apple.

Then you can use this data to populate a UITableView with UITableView cells representing the records. Again, both of these classes are well documented by apple and here on stack overflow.


The easiest way to display the user's contact list is using the ABPeoplePickerNavigationController class in the AddressBookUI framework. It'll handle pretty much all of the UI for you; you just need to implement its delegate methods (look up the ABPeoplePickerNavigationControllerDelegate protocol).

0

精彩评论

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