abinbabu
abinbabu

Reputation: 63

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

Upvotes: 3

Views: 1003

Answers (0)

Related Questions