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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
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