user542584
user542584

Reputation: 2689

Setting edit mode of uitableview disables row selection

When I set the edit mode of my uitableview by using

[listTableView setEditing:YES];

I am not able to select the table rows anymore. It does not take the control to didSelectRowAtIndexPath.

When I comment the above line, it is ok.

Any idea why? I need the editing and selection features.

Thanks.

Upvotes: 2

Views: 2279

Answers (1)

Jan M
Jan M

Reputation: 457

listTableView.allowsSelectionDuringEditing = YES;

Upvotes: 15

Related Questions