I have UIImageView in a custom TableViewCell. I load an image in it with this code:
UIImageView *myImg = (UIImageView *)[cell viewWithTag:kImagePlayer];
myImg.image = [UIImage imageNamed:@"player_play.png"];
So my question is how to change this image when I touch the row? I need to change the image to “music_play”.
Thanks!
In
tableView:didSelectRowAtIndexPath: