Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 1 yıl önce •via X (Twitter)

5 Yorum

Aleksandr Chichkanov profil fotoğrafı
Aleksandr Chichkanov1 yıl önce

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 Chichkanov profil fotoğrafı
Aleksandr Chichkanov1 yıl önce

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 Ferreira profil fotoğrafı
Adriano Ferreira1 yıl önce

Can this be used to replicate Family app tab bar?

Cory Bunge profil fotoğrafı
Cory Bunge1 yıl önce

when is this video coming out?

Pramod Shukla 🚩 profil fotoğrafı
Pramod Shukla 🚩1 yıl önce

Full video

Benzer Videolar