title: UITableview duplicate Images by scrolling
body: <p>I have the following behavior: i have a table with number of rows = 20</p>
  
  <p>i have created in Storyboard UITableView Cell with UIImage.
  I use the function didSelectRowAtIndexPath for show and hide a image. If i select a row the UIImage xxx.png will be displayed. If i select the same row again then the Image is hidden. That works perfekt but when i scroll down i see rows with images and i have no selected this rows. 
  I will only see the image when i select a row and not duplicates wehen i scroll the table.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
  WorkoutTableVCell *cell = [tableView dequeueReusableCellWithIdentifier:@"WorkoutCell" forIndexPath:indexPath];
  cell.checkImage= nil;
  
      if (cell == nil)
      {
          cell = [[WorkoutTableVCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"WorkoutCell"];
  
  
      }
  
      else{
          //Old cell...get previously createdd imageview
          cell.checkImage = (UIImageView*)[cell.contentView viewWithTag:1001];
      }
  
  long row = [indexPath row];   
  cell.lblCell.text = _MyValues[row];
  return cell;
    }
  </code></pre>
  
  <p>I hope you can understand my problem and sorry for my bad english :(</p>