开发者

contacts screen

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜