How to copy images of all address book contacts onto an array, and later display it in Table view?
Asked
Active
Viewed 156 times
1 Answers
0
I don't have any code samples for you, but I have APIs that you should call.
You need to delve into the AddressBook docs.
ABAddressBookGetPersonCount - gets the amount of persons in an ABAddressBookRef ABAddressBookCopyArrayOfAllPeople - gets an array of all the people in the book. ABPersonCopyImageData and ABPersonCopyImageDataWithFormat will get you each person's image.
There are plenty of well defined examples of how to show images in a table, probably right on this website. Look into playing with UTableView, UITableViewCell, UITableViewDelegate & UITableViewDataSource.
Hope this helps!

Dan Morrow
- 4,433
- 2
- 31
- 45