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?
Asked
Active
Viewed 600 times
2

abinbabu
- 43
- 8
-
Could [this](https://stackoverflow.com/questions/63348858/swiftui-how-to-implement-paging-on-user-swipe-previously-used-uicollectionvie) be the solution? – LoVo Feb 14 '22 at 08:54