Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 год назад •via X (Twitter)

Комментарии: 5

Фото профиля Aleksandr Chichkanov
Aleksandr Chichkanov1 год назад

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
Aleksandr Chichkanov1 год назад

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
Adriano Ferreira1 год назад

Can this be used to replicate Family app tab bar?

Фото профиля Cory Bunge
Cory Bunge1 год назад

when is this video coming out?

Фото профиля Pramod Shukla 🚩
Pramod Shukla 🚩1 год назад

Full video

Похожие видео