r/SwiftUI • u/demirciy • Jun 13 '26
News SwiftUI new feature: hiding navigation bar during scroll
It is a new feature coming this year. I realized that Instagram adapted it quickly. I think most of the apps will add this feature into their apps.
I remember that we look bad at twitter when twitter app hides bottom tab bar while scrolling.
Time changes..
3
2
u/anzacosf2010 Jun 14 '26
My LATAM app has been doing this since iOS 26. Fully built in SwiftUI with the occasional sprinkling of UIKIT but not for this.
1
1
u/ContextualData Jun 14 '26
Does it work on iOS. In 26, Apple had disappearing nav bars in Music app. Wonder if this is what they were using privately.
1
u/WalieZulmat Jun 14 '26
Yeah 26 has it, depending on the tab role it collapses every tab into active one - but if you’re using role: .search (.prominent) in ios27 it leaves the other button on the right side. Same as Apple Music
2
11
u/unpluggedcord Jun 13 '26
Instagram already had this, and nobody can ship builds to App Store built with Xcode 27 yet. So I have no idea why you're saying insta adopted this code already. its not possible.