This commit is contained in:
Nishant Kothary
2014-10-22 13:59:22 -07:00
parent d01fb5f418
commit 1010224007

View File

@@ -346,7 +346,7 @@ static BOOL _isInterceptedSelector(SEL sel)
- (void)rangeController:(ASRangeController *)rangeController didSizeNodesWithIndexPaths:(NSArray *)indexPaths
{
ASDisplayNodeAssertMainThread();
[UIView performWithoutAnimation:^{
[super beginUpdates];
// -insertRowsAtIndexPaths:: is insufficient; UITableView also needs to be notified of section changes
@@ -361,6 +361,7 @@ static BOOL _isInterceptedSelector(SEL sel)
[super insertRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationNone];
[super endUpdates];
}];
}