默认选中状态时:
_tableView.editing = YES;
for (int i = 0; i < self.dataArr.count; i++) {
[_tableView selectRowAtIndexPath:[NSIndexPath indexPathForItem:i inSection:0] animated:YES scrollPosition:UITableViewScrollPositionNone];
[self tableView:_tableView didSelectRowAtIndexPath:[NSIndexPath indexPathForItem:i inSection:0]];
}
切记:这段代码一定要放在 [_tableView reloadData];之后执行!!!!