# tristanhimmelman/HidingNavigationBar

Easily hide and show a view controller's navigation bar (and tab bar) as a user scrolls

Repository: https://github.com/tristanhimmelman/HidingNavigationBar
Canonical: https://ross.abutalabs.com/products/hidingnavigationbar
Language: Swift
License: MIT
License Family: permissive
Last push: 2022-06-08T19:21:19+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4142, "days_push": 1547, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1035, forks 125 (observed 2026-08-28T04:03:18.959650+00:00)

## What it is
A Swift library for iOS that manages hiding and showing a view controller's navigation bar (and optionally tab bar, toolbar, or extension views) as the user scrolls. It integrates with UIScrollView delegates to provide smooth, automatic bar transitions.

## Use cases
- hide the navigation bar when scrolling a table view
- show and hide tab bar on scroll in iOS app
- collapsing toolbar effect for iOS
- hide nav bar and toolbar together while scrolling
- scroll-driven navigation bar animation in Swift
- maximize screen space for content while scrolling

## When to choose
- building an iOS app in Swift with UIKit scroll views that should reclaim screen space
- you want a simple manager class to wire into existing view controllers
- you need combined hiding of navigation bar with tab bar or toolbar

## When to avoid
- building with SwiftUI where native scroll behaviors may suffice
- you need highly customized or non-standard bar transitions
- project requires actively maintained dependencies with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development
- platform: -
- tags: navigation-bar, tab-bar, scrolling, uikit, cocoapods, carthage, user-interface, ios, swift

## Member repositories
- tristanhimmelman/HidingNavigationBar (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.959650+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:05:10.343701+00:00, confidence not recorded.
  - readme: https://github.com/tristanhimmelman/HidingNavigationBar (fetched 2026-08-28T04:03:18.959650+00:00, sha b6052fa44cf4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
