Adding a Image to UITable View Cell
Posted
by Graeme
on Stack Overflow
See other posts from Stack Overflow
or by Graeme
Published on 2010-04-23T08:04:19Z
Indexed on
2010/04/23
8:13 UTC
Read the original article
Hit count: 174
Hi,
I have a table in which I want a dynamic image to load in at the left-hand side. The table needs to use an IF statement to select the appropriate image from the "Resources" folder, and needs to be based upon [dog types].
The [dog types] is extracted from an RSS feed, and so the image in the table cell needs to match the each cell's [dog types] tag.
I suspect I need to use - (UIImage *)imageForTypes:(NSString *)types { to do such a thing.
Thanks.
© Stack Overflow or respective owner