title: How to remove image from the UITableView cell?
body: <p>My table view looks in non-edit mode...</p>
  
  <p><img src="https://i.stack.imgur.com/i6Olt.png" alt="enter image description here"></p>
  
  <p>In edit mode...</p>
  
  <p><img src="https://i.stack.imgur.com/x7iXp.png" alt="enter image description here"></p>
  
  <p>I want to show a list image in the <strong>Department Name</strong> field in edit mode. It should be get hide in non-edit mode.</p>
  
  <p>I added this image using the following code in <code>tableView: cellForRowAtIndexPath:</code>..</p>
  
  <pre><code>if (isInEditMode) {
  
      UIImageView *listingImage = [ [UIImageView alloc] initWithFrame:CGRectMake(275, 16, 13, 13)];
  
      listingImage.image = [UIImage imageNamed:@"listing.png"];
  
      [cell.contentView addSubview:listingImage];
  
      [listingImage release];
  
  }
  
  else {
  
      //Need to remove image from cell
  
  }
  </code></pre>
  
  <p>Update <code>isInEditMode</code> <em>Boolean</em> value with respect to the click of right bar button(edit button).</p>
  
  <p>How can i remove the image in non-edit mode?</p>
  
  <p>Thanks in Advance</p>