Fry Fry - 3 months ago 34
iOS Question

iOS reordering table view rows without delete button

I've to reordering

rows without show the default red minus button because I need to show my custom image and I don't need to remove cell from
. Is there a way for reordering rows even if table is not in editing mode ?

enter image description here

rmp rmp

You will need to add this delegate method to not show the delete button

- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{
return UITableViewCellEditingStyleNone;