0

I'm just trying to learn SwiftUI as my background is in UIKit. How to implement a pageview mechanism with 3 images per page? Like in the photo below, current page is showing 3 images. Since there's 3 dots, it means that the number of images are 7-9. This should be dynamic, which means that when I got 14 images, I should be showing 5 dots.

I should be able to swipe to left and load the next set of images. The last set might contain 1-3 images.

I'm using SwiftUI 1.0 as I need to support iOS 13.

enter image description here

James Z
  • 12,209
  • 10
  • 24
  • 44

0 Answers0