title: change cell content view when custome view added to cell
body: <p>I have created one uiviewcontroller with xib to adding in the uitableview cell. here is the code for that.</p>
  
  <pre><code>@interface CustomeCellHome : UIViewController{
  
      IBOutlet UIImageView *imgViewBack;
  
      // will have number of labels and imageviews.
  }
  @property (nonatomic, retain) UIImageView *imgViewBack;
  
  
  @implementation CustomeCellHome
  @synthesize imgViewBack;
  </code></pre>
  
  <p>all this IBOutlet connected to xib.</p>
  
  <p>now i am adding this to my uitableview cell. here is code for that.</p>
  
  <pre><code>- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
      return 150;
  }
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  //    if (cell == nil) {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
  //    }
  
  
      CustomeCellHome *objCell = [[CustomeCellHome alloc] init];
      [objCell.view setTag:indexPath.row];
      [cell.contentView addSubview:objCell.view];
  
      objCell.imgViewBack.image = [UIImage  imageNamed:@"unsel.png"];
  
      [objCell release];
      return cell;
  }
  </code></pre>
  
  <p>now i want to change this imgViewBack image on selection of row. here is code for that.</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
  {
      UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
      CustomeCellHome *objCCell = [[CustomeCellHome alloc] init];
      objCCell.view = [cell viewWithTag:indexPath.row];
      objCCell.imgViewBack.image = [UIImage imageNamed:@"sel.png"];
  </code></pre>
  
  <p>}</p>
  
  <p>but my imgViewBack is not changing its image. don't getting what is wrong with this. any suggestion for that ? any suggestion will be appreciated . </p>