andreamazz / AMScrollingNavbar

Scrollable UINavigationBar that follows the scrolling of a UIScrollView
MIT License
6.05k stars 634 forks source link

Ensured that gesture delegate methods do not block gestural pop #401

Closed feef closed 3 years ago

feef commented 3 years ago

View controllers pushed on after a previous view controller stopFollowingScrollView were not able to use gestural pop unless gesture delegate methods were explictly overridden in the subclasses. This commit restores default system behavior in these delegate methods unless we're handling the gesture recognizer we've installed on the scrollable view.

See documentation on gesture recognizer to confirm default behavior https://developer.apple.com/documentation/appkit/nsgesturerecognizerdelegate

andreamazz commented 3 years ago

Appreciate it, thanks