views:

255

answers:

1

Hi Guys, How do i insert addressbook contacts in a tableview....? i got stuck up with this please help me find out guys.....

+2  A: 

Your question is rather vague, I pressume you want to make an application which interacts with the contacts on the iPhone? If that is the case, there is an Address Book UI framework available to help you develop applications which interact with the native iPhone address book.

Have a look at the Address Book Programming Guide for iPhone OS: http://developer.apple.com/iphone/library/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/100-Introduction/Introduction.html

The Programming Guide also includes guides on how to access the contacts in the address book directly. There are also several UI controlles available to help you pick a contact for instance.

Once you've got access to the contacts, have a look at the Table View Programming Guide for iPhone OS on how to display data in a table. http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/TableView%5FiPhone/Introduction/Introduction.html

I hope this gets you started.

Yannick Compernol
Thanks a lot...but i know to pick particular properties of selected people and display it.....Wat i want is when i open my application i need to get the contact book....
rohithkumar
Please elaborate on that, upon launch of your application you need to access the contacts in the address book?
Yannick Compernol