开发者

importing multiple contacts into tableview from iphone

开发者 https://www.devze.com 2023-02-16 17:08 出处:网络
i am able to import contacts from phone contacts to a table in my application directly and one by one 开发者_如何学JAVAalso...

i am able to import contacts from phone contacts to a table in my application directly and one by one 开发者_如何学JAVAalso... but i want to add multiple contacts from phone contacts to my table view.

can any one please help me how to do that...


I do this by creating a custom UITableViewController.

  • Get all the contacts from the addressbook, then populate tableview cells.
  • In "didSelectRowAtIndexPath" method, add a check mark to the cell, and add it to an array to hold selections.
  • When done, call delegate and pass the array of selected people to it.
0

精彩评论

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