bencallis
bencallis

Reputation: 3668

didSelectRowAtIndexPath not called when cell selected in edit mode

I am having an issues with a tableview when in edit mode.

The table should allow users to select multiple files in edit mode and the checkbox should be marked.

The problem I am having is didSelectRowAtIndexPath is not called when deselecting a selected cell. However it is called when the cell is not selected and becomes selected.

The tableview has the following properties set

    self.tblFiles.allowsMultipleSelectionDuringEditing = YES;
    self.tblFiles.allowsSelectionDuringEditing=YES;

Upvotes: 2

Views: 1058

Answers (1)

wattson12
wattson12

Reputation: 11174

on deselecting you should be using

tableView:didDeselectRowAtIndexPath:

Upvotes: 3

Related Questions