Loading video...
Video Failed to Load
With the new scrollPosition, scrollPhase, and scrollGeometry modifiers, we can now create a scrollable tab bar similar to the one found in Instagram’s Profile Layout. Note: The primary paging view is a horizontal scroll view, and each page view is an individual vertical scroll view.
13,867 views • 1 year ago •via X (Twitter)
5 Comments

Aleksandr Chichkanov1 year ago
I am curious. Since you mention that the paging view is a horizontal scroll view, it means that the header area won’t be scrollable? This seems to be pretty important for apps like instagram, where the header can be pretty big

Aleksandr Chichkanov1 year ago
That’s amazing. However, I think the main problem of all the implementations of this behavior in SwiftUI is that tabs content is not “lazy”, usually it’s just a vstack. Which is rarely usable in a real app like instagram. Really excited to see what you came up with.

Adriano Ferreira1 year ago
Can this be used to replicate Family app tab bar?

Cory Bunge1 year ago
when is this video coming out?

Pramod Shukla 🚩1 year ago
Full video


