Video wird geladen...
Video konnte nicht geladen werden
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 Aufrufe • vor 1 Jahr •via X (Twitter)
5 Kommentare

Aleksandr Chichkanovvor 1 Jahr
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 Chichkanovvor 1 Jahr
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 Ferreiravor 1 Jahr
Can this be used to replicate Family app tab bar?

Cory Bungevor 1 Jahr
when is this video coming out?

Pramod Shukla 🚩vor 1 Jahr
Full video


