andreamazz / AMScrollingNavbar

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

Back swipe gesture doesn't work #289

Closed hhunaid closed 6 years ago

hhunaid commented 6 years ago

If you push a VC from a VC which is following a scrollView, swipe gesture doesn't work. It freezes the app and then the app goes unstable and often needs to be killed and restarted.

I have already tried

    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
        if let navController = navigationController as? ScrollingNavigationController {
            navController.stopFollowingScrollView()
        }

    }

But it doesn't work

hhunaid commented 6 years ago

Nevermind this only happens if you have disabled the interactivePopGesture. I don't know why this happens though.