UITableView _endCellAnimationsWithContext section
2014-11-18 11:38
337 查看
UITableView _endCellAnimationsWithContext
[self.placementArray
removeObjectAtIndex:indexPath.row];
if (self.placementArray.count
== 0) {
[self.tableView
deleteSections:[NSIndexSet
indexSetWithIndex:indexPath.section]
withRowAnimation:UITableViewRowAnimationAutomatic];
}else{
[self.tableView
deleteRowsAtIndexPaths:@[[NSIndexPath
indexPathForRow:indexPath.row
inSection:indexPath.section]]
withRowAnimation:UITableViewRowAnimationAutomatic];
}
[self.placementArray
removeObjectAtIndex:indexPath.row];
if (self.placementArray.count
== 0) {
[self.tableView
deleteSections:[NSIndexSet
indexSetWithIndex:indexPath.section]
withRowAnimation:UITableViewRowAnimationAutomatic];
}else{
[self.tableView
deleteRowsAtIndexPaths:@[[NSIndexPath
indexPathForRow:indexPath.row
inSection:indexPath.section]]
withRowAnimation:UITableViewRowAnimationAutomatic];
}
相关文章推荐
- iOS UITableView删除组中唯一行,即[UITableView _endCellAnimationsWithContext:] warning
- *** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit_Sim/UIKit
- 删除cell 报错*** Assertion failure in -[UITableView _endCellAnimationsWithContext:]
- <ObjectC>解决 Assertion failure in -[UITableView _endCellAnimationsWithContext:] 问题
- NSFetchedResultsController Assertion failure in -[UITableView _endCellAnimationsWithContext:]
- 删除cell时 报错 Assertion failure in -[UITableView _endCellAnimationsWithContext:]
- Assertion failure in -[UITableView _endCellAnimationsWithContext:]---错误
- *** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /BuildRoot/Library/Caches/co
- [UITableView _endCellAnimationsWithContext:]
- *** Assertion failure in -[UITableView _endCellAnimationsWithContext:]
- _endCellAnimationsWithContext: 错误
- ios UITableview 刷新某一个cell 或 section
- iOS 坑点 Assertion failure in - UITableView dequeueReusableCellWithIdentifier:forIndexPath:
- iOS UITableView 刷新某一个cell 或 section
- UITableView (4): 在TableView中移动cell和Section 从TableView中删除cell和section 添加系统默认刷新控件
- IOS开发(28)UITableView之移动Section和Cell
- UITableView 刷新某一个cell 或 section
- UITableView 重用cell方法edequeueReusableCellWithIdentifier,出现错误
- iOS 关于UITableView的dequeueReusableCellWithIdentifier
- ios uitableview 刷新某一个cell 或 section