Upvote:2

@interface MyCustomScrollView : UIScrollView
@end

@implementation MyCustomScrollView
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
    UIView* handler = nil;
    if ([self pointInside:point withEvent:event]) {
        for (UIView* view in self.subviews) {
            if ([view isKindOfClass:[UIScrollView class]]) {
                CGPoint subPoint = [self convertPoint:point toView:view];
                handler = [view hitTest:subPoint withEvent:event];
                if (handler) {
                    break;
                }
            }
        }

        if (nil == handler) {
            handler = [super hitTest:point withEvent:event];
        }
    }
    return handler;
}
@end

Credit Goes to: stackoverflow.com

Related question with same questions but different answers