Reputation: 145
is it possible in uitableview that when tableview enters editing mode only selected cell will be able to reorder and other cells will not be draggable. i tried to set all cell's "showsreordercontrol" to NO, and only selected cell's property to YES; but it didn't work
Upvotes: 1
Views: 147
Reputation: 145
i achieved it by comparing selected cell's indexpath.row with indexpath.row. in this method
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
Upvotes: 2