Reputation: 39
I have a tap gesture added to a table view for dismissing the keyboard. In order to make multiple gesture recognizing i have implemented gesture delegation. Every thing works fine. I am able to receive tap gestures and button touch gestures which are place in header view simultaneosly.
But the collection view cell in the header is not selectable because of my tap gesture in the table view. Can any one help me on this
Upvotes: 1
Views: 396
Reputation: 9830
I know this is an old question, but I just came up with this exact problem and found a kind of solution.
So first, remove the tap gestures. Next, in didSelectRowAtIndexPath
add the following:
[self.view endEditing:YES];
And there you should have it.
Upvotes: 0