Closed KushThakkar closed 6 years ago
Write below code in MXScrollView.m
-(BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer{ CGPoint point = [gestureRecognizer locationInView:self.parallaxHeader.view]; if(CGRectContainsPoint(self.parallaxHeader.view.frame, point)) return NO; return YES; }
@KushThakkar can you please explain this? I want to do the same
I want to scrolling only from bottom of Segment Control.
If user scrolling above the segment control that should be disable for that.
Please check below attachment for graphical representation of this issue.
Let me know if you need more Clarification.