I have two views one beneath the another. I'm rotating the below view by touch sensing of top view. while trying to make a swipe, touches canceled event is called before touches ended event. While moving the finger touches began and touches moved events are called , and then touches ended event is called at the last(mostly). But sometimes while trying to move slowly,touches canceled event is called stopping the touch events to occur. So i couldn't rotate view in slow speed. What may be the problem? how to avoid touches canceled event?
Note: I'm drawing some graphs in views using core-plot lib.
If you are using any
UIGestureRecognizersthey automatically cancel touches to other views when they recognize their gesture. You can turn this behavior off with thecancelsTouchesInViewproperty of the recognizer.