i have a imageView in table cell now i want to chnage image on tap how to do that
switch(indexPath.section)
case 0:
CGRect frame;
frame= CGRectMake(20 ,10, 270, 180);//277 182
UIImageView * myImageView = [[UIImageView alloc]init];
myImageView.image = [UIImage imageNamed:@"Abe1.jpg"];// abe2, abe3.png
myImageView.frame = frame;
//UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"bowl.png"]];
[cell.contentView addSubview: myImageView];
[myImageView release];
how to change image on tap ( abe1.png,abe2.png,abe3.png)??