I have following view hierarchy:
UIView - root
-UICollectionView
-UIScrollView
BOTH are subviews of root view not of each other.
I want scrollview to only scroll vertically and collectionview to only scroll horizontally.
The problem I am having is getting the collection view to receive touches as it is underneath the scrollview.
Read other SO questions but was not able to find solution. Have tried overriding touches event methods in subclass of scroll view, but no luck.