Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all what we have to do is the following instead of using a pod #83

Open
AymanOmara opened this issue Nov 4, 2021 · 1 comment
Open

Comments

@AymanOmara
Copy link

func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
    let translation = scrollView.panGestureRecognizer.translation(in: scrollView.superview)
    if(translation.y > 0){
        self.navigationController?.setNavigationBarHidden(false, animated: true)
    }else{
        self.navigationController?.setNavigationBarHidden(true, animated: true)
    }
    
}
@AymanOmara AymanOmara changed the title all what we have to do is the following all what we have to do is the following instead of using a pod Nov 4, 2021
@mrmatil
Copy link

mrmatil commented Nov 28, 2022

Yeah, especially when we for ex. have to implement tabbar hiding and complex animation for it.
Useless issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants