SlideMenuControllerSwift
SlideMenuControllerSwift copied to clipboard
Menu over MKMapView swipe
When I try to swipe from the edge of the screen, to show the menu, map is scrolling too. It's not possible to use addPriorityToMenuGesuture, since it accepts only scroll view.
@dennytwix How are you showing menu on the view controllers which is not pushed but instead presented? Any solution?
Sorry, I am not sure that understood your question. It seems that it is not related to my issue.
Not only MKMapView, also UIPageViewController has activity on pan gesture from edge :)
@iDevPro yes, basically any component which has pan gesture and which is not UIScrollView. But it's easy to extract pan gesture from page controller and require it to fail :)
I'm already solve it by fail gestures :)
Yes. I am also facing kind of issues when I am try to open the menu from edge my map view also scrolling. How to restrict this. Can you share your solution?
@ssowri1 unfortunately we just disabled opening menu with edge gesture :(
@dennytwix Thank you for your response.
Yes. I also tried to disable the edge gesture along with below codes. But still its working the same. can you please share the code to disable the edge gesture.
SlideMenuOptions.tapGesturesEnabled = true
SlideMenuOptions.panGesturesEnabled = false
@ssowri1 SlideMenuOptions.simultaneousGestureRecognizers = false
@dennytwix Thank you. It's working fine :-)