1

enter image description here

When using the edit mode of swift tableview, icons for moving and deleting appear.

I want to get rid of the red part of the picture

Is it possible?

I just want to change the order in edite mode

I wonder how

1 Answers1

2

In your table view delegate add the following

func tableView(_ tableView: UITableView, 
               editingStyleForRowAt indexPath: IndexPath) -> UITableViewCell.EditingStyle {
   return .none
}
Asperi
  • 228,894
  • 20
  • 464
  • 690