
I have 3 tableviews placed upon scrollview at x = 0.0, x = 320.0 and x = 640.0.
When the user horizontally swipes the tableviews (as they are on top), I want to pass the swipe event to its superview and when the user vertically swipes tableviews the tableview must scroll vertically.
How can I achieve this?
To pass the touch from
UIScrollView, use this code as a category:To determine the vertical/Horizontal scrolling, you can use this code:
.h file
<UIScrollViewDelegate>.m file
That’s it,