Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (UIView *) hitTest:(CGPoint) point withEvent:(UIEvent *)event {
- if ([self pointInside:point withEvent:event]) {
- return scrollView;
- }
- return nil;
- }
- -(UIView*)hitTest:(CGPoint)point withEvent:(UIEvent*)event
- {
- UIView* child = nil;
- if ((child = [super hitTest:point withEvent:event]) == self)
- return self.scrollView;
- return child;
- }
Add Comment
Please, Sign In to add comment