title: Prevent UITableView out of cell bound views from clipping on insertRowsAtIndexPaths:
body: <p>This <strong>video</strong> shows how cells with views extending out of the cell area get clipped momentarily when new cells are being inserted:</p>
  
  <p><a href="https://dl.dropboxusercontent.com/u/22105205/CellClipping.mov" rel="nofollow">https://dl.dropboxusercontent.com/u/22105205/CellClipping.mov</a></p>
  
  <p>This <strong>simple project</strong> clearly shows the problem and can be used for quick prototyping:</p>
  
  <p><a href="https://github.com/AndresCanella/iOSInsertCellClippingExample.git" rel="nofollow">https://github.com/AndresCanella/iOSInsertCellClippingExample.git</a></p>
  
  <ul>
  <li>This clipping only occurs when the table is mutated. </li>
  <li>Cells are clear.</li>
  <li>Cells display correctly when not mutating.</li>
  </ul>
  
  <p>Possibly some sort of optimization that only uses pix from within the cell area for animation?</p>
  
  <p>Everything is setup correctly, stable, and works as expected, we are not even using specific cell data for this example:</p>
  
  <pre><code>[tableView beginUpdates];
  self.cells++;
  [tableView insertRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationRight];
  [tableView endUpdates];
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p>Response from DTS:</p>
  
  <p>I’m afraid you are not going to be able to directly affect the insertion animation behavior when calling “insertRowsAtIndexPaths”, regardless of the kind of “UITableViewRowAnimation” you are using.  Cell content conventionally don’t overlap like that.  UITableView is simply honoring the cell’s bounds (not it’s extended or overlapping content), when performing its animation block of each cell.</p>
  
  <p>My comment:</p>
  
  <p>I've been told by DTS that things can be done plenty of times and I've always found a workaround. So now I'm looking for a work around. </p>
  
  <p>Apple Bug Report # 17986466</p>