How to handle two types of straight napkin gestures
In my project, I created a UIView (red view) and gave a swipe gesture (right and left). His work is fine and then I saved the slide slide menu. Now I am facing a problem. If I scroll, the red image is fine. when i scroll to the right the red view doesn't go and the sidebar menu appears. How to solve this problem. Please help me.
var swipeRight = UISwipeGestureRecognizer(target: self, action: Selector("animations:"))
swipeRight.direction = UISwipeGestureRecognizerDirection.Right
viewSlide.addGestureRecognizer(swipeRight)
var left = UISwipeGestureRecognizer(target: self, action: Selector("animations:"))
left.direction = UISwipeGestureRecognizerDirection.Left
viewSlide.addGestureRecognizer(left)
If you don't understand my message, please ask again.
thank
+3
source to share
No one has answered this question yet
Check out similar questions: