I have a uicollectionview inside a uitableviewcell. tableView: didSelectRowAtIndexPath doesn't recognize my touch and collectionView: didSelectItemAtIndexPath only recognizes touch for the items inside the collectionview. Is there a way for a uitableviewcell with a uicollectionview inside to recognize touch events?
Asked
Active
Viewed 1,265 times
4
-
You can try to use `hitTest:withEvent`. – tounaobun Nov 04 '15 at 02:09
-
Possible duplicate of [Pass UICollectionView touch event to its parent UITableViewCell](http://stackoverflow.com/questions/33512344/pass-uicollectionview-touch-event-to-its-parent-uitableviewcell) – William T. Mar 28 '16 at 04:29