Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

Profilbild von Aleksandr Chichkanov
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

Profilbild von Aleksandr Chichkanov
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.

Profilbild von Adriano Ferreira
Adriano Ferreiravor 1 Jahr

Can this be used to replicate Family app tab bar?

Profilbild von Cory Bunge
Cory Bungevor 1 Jahr

when is this video coming out?

Profilbild von Pramod Shukla 🚩
Pramod Shukla 🚩vor 1 Jahr

Full video

Ähnliche Videos