1 year ago

#175686

test-img

abinbabu

How to show page indicator for LazyHGrid in Swift UI

I want to achieve the pagination and page indicator with dots as in Swift (UIPageControl) in swift UI. I am using a lazy H grid, and a button inside a for Each loop to get the horizontal grid. How to add the page indicator to LazyHgrid to achieve this design? enter image description here

swift

swiftui

grid

lazyhgrid

0 Answers

Your Answer

Accepted video resources