title: uitableview - custom images keep loading in cell.contentView
body: <p>In <code>cellForRowAtIndexPath</code> I am adding a <code>UIImageView</code> to <code>cell.contentView</code>. The problem is that when the cell scrolls off the screen and back on, it adds the same image again on top of the one that is already there. This happens continuously until I get a very stacked-up blurry image. </p>
  
  <p>Do you have to keep removing any image views that you add to <code>cell.contentView</code>? If so, in what delegate method do you do that in?</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
      static NSString *CellIdentifier = @"CellIdentifier";
  
      MyTableCell *cell = (MyTableCell*)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"MyTableCell" owner:self options:nil];
          cell = [nib objectAtIndex:0];
      }
      cell.selectionStyle = UITableViewCellSelectionStyleNone;
  
      UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"image.jpg"]];
  
      imageView.center = CGPointMake(310, 48);
      [cell.contentView addSubview:imageView];
      [imageView release];
      return cell;
  }
  </code></pre>