Move Up NavigationBar On Scrolling

Updated 18 December 2016


Move Up NavigationBar On Scrolling

When we scroll navigation bar, we want that navigation bar move up on scrolling down and when we scroll up navigation bar comes again. We use hidesBarsOnSwipe method, It will only hide the navigation bar no animation and leave a blank space in place of the navigation bar so do not use this method. To use proper animation, convert your navigation bar into frame and on scrolling set the value of y and then assign that frame to navigation bar and write the code didScroll delegate method oh UIScrollView.Example :-


. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home