I have a UITableView where when I put it in editing mode, I want selective rows to be selectable, however, they are not. Is there a way I can force them to be selectable?
Asked
Active
Viewed 2.1k times
2 Answers
140
Set the UITableView
property allowsSelectionDuringEditing to YES
.
-
11also for actions you could do `if (tableView.editing == YES)` in `didSelectRow`. Just a tip. – Souljacker Jun 17 '12 at 16:56
-
1This can also be set in interface builder (see http://stackoverflow.com/questions/174309/uitableview-didselectrow-while-editing) – Symmetric Aug 15 '12 at 18:26