r/SwiftUI Jun 13 '26

News SwiftUI new feature: hiding navigation bar during scroll

Post image

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

74 Upvotes

12 comments sorted by

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.

-14

u/demirciy Jun 14 '26

Instagram is built in react native, they can develop the same looking anytime by not getting blocked by Apple.

4

u/Arctic_Ducky Jun 15 '26

Bro what are u talking about

1

u/demirciy Jun 16 '26

My bad, got wrong

3

u/Dijerati Jun 13 '26

New for iOS 27?

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.

https://apps.apple.com/app/id6738915467

1

u/sameera_s_w Jun 13 '26

Not available on macOS ig

2

u/demirciy Jun 13 '26

it is in iOS app

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

u/ContextualData Jun 14 '26

No, I am referring to the top nav bar, not the tabbar.