I can see this behavior in both deprecated UITableViewRowAction class and UISwipeActionsConfiguration class:
If you have allowsMultipleSelection property set to true and, let's say, you have 3 rows selected:
When you start swiping any row in the table for a RowAction the previously selected rows -- all 3 of them -- become unhighlighted, and the property indexPathsForSelectedRows drops to nil.
- Does this behavior make sense?
- Is there any 'deselecting' callback (because I'm displaying the number of selected rows)
- What are possible workarounds to persist the array of selected rows?