Check Mobile App
Read now

Move Up NavigationBar On Scrolling

Save

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.

css.php

Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

Deniel Kerr

Owner and Founder. Opencart

Talk to Sales
Start a Project

    Message Sent!

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

    Back to Home