I have a UITableView with two sections and I have a button which changes the tableview to edit mode but only the bottom section is editable.
When I select rows and scroll only in the bottom section (which is in edit mode) the rows keep there selection. But if I scroll up until the bottom section is hidden and return back the bottom section the selection has been cleared.
The scrolling between the sections clears the selection.
Why is this happening? How can this be fixed?