The swiping will not be recognized (as expected), but FRLayeredNavigationController's gesture recognizer is not fully removed.
In my application I need to disable swiping and display a transparent UIView that allows for freehand drawing. I was having issues while drawing because touchesCancelled was getting called unexpectedly on my transparent UIView, which prevented the user from drawing anything.
I was able to fix this by calling removeGestureRecognizer in FRLayeredNavigationController's detachGestureRecognizer method:
When you try to temporarily disable swiping by calling:
The swiping will not be recognized (as expected), but FRLayeredNavigationController's gesture recognizer is not fully removed.
In my application I need to disable swiping and display a transparent UIView that allows for freehand drawing. I was having issues while drawing because touchesCancelled was getting called unexpectedly on my transparent UIView, which prevented the user from drawing anything.
I was able to fix this by calling removeGestureRecognizer in FRLayeredNavigationController's detachGestureRecognizer method: