//捕获当前页面的手势传递给指定页面
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
if (!CGRectContainsPoint(self.pageScrollView.frame,point)) {
return self.pageScrollView;
}
return [super hitTest:point withEvent:event];
}
//捕获当前页面的手势传递给指定页面
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
if (!CGRectContainsPoint(self.pageScrollView.frame,point)) {
return self.pageScrollView;
}
return [super hitTest:point withEvent:event];
}