UITableView - Always show order control, but you can still delete and select rows

I have a UITableView and I want to have the following things at the same time:

  • Always be able to reorder items (always check ordering)
  • Always delete items by moving them to the side and opening the delete button
  • Do not show this minus sign on the side
  • You can always select (highlight) a row

I tried a couple of things, but could not reach all at the same time. What tuning steps are needed to achieve all this? What delegate methods should return values? What flags / settings should be set in the cells?

+4
source share

Source: https://habr.com/ru/post/1531877/


All Articles