A custom UINavigationController that enables the scrolling of the navigation bar alongside the scrolling of an observed content view. If you are looking for the category implementation in Objective-C, make sure to checkout version 1.x and prior, although the 2.x is recomended. Make sure to use ScrollingNavigationController instead of the standard UINavigationController. Either set the class of your UINavigationController in your storyboard, or create programmatically a ScrollingNavigationController instance in your code. Use followScrollView(_: delay:) to start following the scrolling of a scrollable view (e.g.: a UIScrollView or UITableView). To DRY things up you can let your view controller subclass ScrollingNavigationViewController, which provides the base setup implementation. You will just need to call followScrollView(_: delay:): To move another view, like a toolbar, alongside the navigation bar you can provide the view or multiple views as the followers parameter.

Features

  • Change scrolling speed
  • Setup with Carthage
  • Setup with CocoaPods
  • Scroll the navigation bar out of the way
  • Set a delegate to receive a call when the state of the navigation bar changes
  • Check out the sample project for more details

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow AMScrollingNavbar

AMScrollingNavbar Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AMScrollingNavbar!

Additional Project Details

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2021-09-13