I have a UICollectionView
which supports horizontal and vertical scrolling. Each collection view cell is a subclass of UICollectionViewCell
and they are loaded from a NIB that contains UIButton
's, UITableView
's and even another UICollectionView
. They are all inside a TPKeyboardAvoidingScrollView
.
Scrolling works perfectly both horizontally and vertically, but it is not receiving touch events on the elements on the individual UICollectionViewCell
. When I touch any of the elements, say a button that's part of the UICollectionViewCell
, then all that I get is the didSelectItemAtIndexPath
event on the UICollectionViewDelegate
- I am unable to get any touch event passed through to one of the subviews of the collection view cell the tap occurs on.