How do I use a contact's photo in a table view cell?
Posted
by Andy
on Stack Overflow
See other posts from Stack Overflow
or by Andy
Published on 2010-05-13T02:53:35Z
Indexed on
2010/05/13
3:04 UTC
Read the original article
Hit count: 191
iphone-sdk
I've got an app that has a table view that displays contact information in each row. I'd like to use the contact's stored image (if there is one available) as the image on the left-hand side of the cell.
I've found some sketchy sample code in Apple's documentation, but the address book references some kind of weird data type (CFDataRef) that doesn't appear to correspond to the data types referenced in the table view programming guide (mainly UIImage).
This seems like a pretty basic task, but I can't seem to wrap my head around it. Thanks in advance for any help you can offer.
© Stack Overflow or respective owner