Move Up NavigationBar On Scrolling

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 :-

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close