*** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit_Sim/UIKit

简介:

*** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit_Sim/UIKit-2935.137/UITableView.m:1368

遇到这种问题时,是由于少加了两行代码:

      [_tableView beginUpdates];
      [_tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];
      [_tableView endUpdates];
      

调用beginUpdates/endUpdates
目录
相关文章
|
5月前
|
Swift iOS开发
ITMS-90433: Invalid Swift Support
ITMS-90433: Invalid Swift Support
UI5 control inheritance implementation question
UI5 control inheritance implementation question
UI5 control inheritance implementation question
implementation of CreateBindingContext
Created by Jerry Wang, last modified on Jul 29, 2015
136 0
implementation of CreateBindingContext
How to create ABAP implicit enhancement implementation
How to create ABAP implicit enhancement implementation
132 0
How to create ABAP implicit enhancement implementation
error: ‘avcodec_alloc_frame’ was not declared in this scope
error: ‘avcodec_alloc_frame’ was not declared in this scope
376 0