Began touch handling in UITableViewCell disables didSelectRowAtIndexPath

I implement gestures in my customtableviewcell control, and therefore I want to implement touchsBegan. I can implement swipes, but, unfortunately, because touchhesBegan is processed in customcell, I do not receive the didSelectRowAtIndexPath message in tablecontroller. If the touchhesBegan method is disabled, it works.

How should this be handled? I want the touch event to trigger the responder chain after touchsBegan is processed. How can i do this?

Thanks.

+5
source share
1 answer

, , , , , , .

[super touchhesBegan]? . .

- , .

- ( , , )

-(void) touchesBegan
{
 //logic to detect tap only.
 [tablecell.delegate didSelectRowAtIndexPath:(some way to determin touched row)]
}
+12

All Articles