title: Unexpected table cell animation after beginUpdates/endUpdates
body: <p>I have a table view with static cells. Clicking on a cell toggles visibility (changes cell height) of picker view cell, associated with this cell. A <code>tag</code> property of clicked cell maintains state of a picker cell. Animations are triggered with a sequence of <code>beginUpdates</code>, <code>endUpdates</code> methods. This is an easy way to animate visibility of picker cells (without managing cell insertions and deletions).</p>
  
  <pre><code>#pragma mark - Table view data source
  
  - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      CGFloat defaultHeight = [super tableView:tableView heightForRowAtIndexPath:indexPath];
  
      switch (indexPath.row) {
          case RowIndexDayTimePicker:
              return self.dayTimeCell.tag &gt; 0 ? defaultHeight : 0;
  
          case RowIndexPrivacyPicker:
              return self.privacyCell.tag &gt; 0 ? defaultHeight : 0;
  
          default:
              return defaultHeight;
      }
  }
  
  #pragma mark - Table view delegate
  
  - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
  {
      switch (indexPath.row) {
          case RowIndexDayTime:
              self.dayTimeCell.tag *= -1;
              self.privacyCell.tag = -1;
              break;
  
          case RowIndexPrivacy:
              self.dayTimeCell.tag = -1;
              self.privacyCell.tag *= -1;
              break;
  
          default:
              break;
      }
  
      [tableView beginUpdates];
      [tableView endUpdates];
  }
  </code></pre>
  
  <p>Animations work as expected, until I set table view separator property to <code>None</code> in order to use custom separator. Compare two screenshots (animated gif):</p>
  
  <p><img src="https://i.stack.imgur.com/WjRhj.gif" alt="Table view"> <img src="https://i.stack.imgur.com/FTwgU.gif" alt="Table view w/o separators"></p>
  
  <p>I have no idea how to fix it. I use autolayout, picker views are aligned to superview with zero margin from each side. Tested under iOS 7 Simulator and iPos Touch. Storyboard screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/jU9z4.png" alt="Storyboard"></p>