Please take a look at the picture below:
I have a custom UIControl as RangeSlider which I implemented by follow this tutorial. I place the RangeSlider inside a FilterViewController which can slide in or out.
On class RangeSlider I used 3 methods of UIControl: beginTracking, continueTracking, endTracking to handle touch event when user move the indicator of slider.
On class FilterViewController I used UIPanGestureRecognizer to handle touch event when user slide in or out.
Problem
When I try to move the indicator of slider, the ViewController also move. And the indicator is just move a bit. It seem to be the both of child view and parent view received touch event.
Question
How can I ignore the parent view(ViewController) receive touch event?
