Change UITableView Cell Image using IF Statement?
Posted
by Graeme
on Stack Overflow
See other posts from Stack Overflow
or by Graeme
Published on 2010-04-22T09:02:29Z
Indexed on
2010/04/22
9:33 UTC
Read the original article
Hit count: 194
I want to add an image using the cell.imageView setImage: method. However, depending on field from an array (in the form of an NSString and called using [dog types]) I need the image to change to an image which reflects the type of dog.
How do I go about doing this? Thanks.
© Stack Overflow or respective owner