[![When I enter editing mode](https://i.stack.imgur.com/ywYL5.png)](https://i.stack.imgur.com/ywYL5.png)[![Before entering editing mode](https://i.stack.imgur.com/SuP07.png)](https://i.stack.imgur.com/SuP07.png)

I have a UITableView which shows features for a product with a checkmark shown on the right of the cells for the supported features. The app allows the user to check more features or to uncheck others and for get that the UITableView enters editing mode with multi-selection mode on. The problem is that I would like to set the already checked features (in order to let the user uncheck them), but indexPathsForSelectedRows is readonly and I could not find a way to initialize some rows, so that they are already selected when the grid enters the editing mode. Is there a way to get that result? Any help would be much appreciated.

The pictures show the 2 situations. When the table view is not in editing mode I have the checkmark accessories. When the table view enters editing mode, with multi-selection enabled, it shows the checkboxes...but they are all unchecked and I cannot programmatically check them... or at least that is what it looks like