Clancey / FlyoutNavigation

Other
95 stars 87 forks source link

UISwipeGestureRecognizer issue with the FlyoutNavigationController #52

Closed rohithc closed 10 years ago

rohithc commented 10 years ago

I am using the FlyoutNavigation component in my project and it works well. But I have a small issue when using it with the Segment view control. In one of the views I use a segmented view control and added a gesture recognizer to swipe the segmented pages. But the swipe does not work when the view that im using is in Flyout navigation. (But when I use the gesture recognizer in a separate sample, where i do not use Flyout navigation it works perfectly.The swipe right and left allows to scroll between segments). Is this a known issue with Flyout navigation? Any hints to work around this?

Clancey commented 10 years ago

Its not an issue with the Flyout Navigation Controller. It's just how Gesture recognizers work on iOS. By default gestures overwrite each other. You need to use gesture.ShouldRecognizeSimultaneously to allow more then one to fire.