Interactive Page Control with Swift

CardsView

!

Documentation

self.pageControl.numberOfPages = 5
self.pageControl.currentPage = 1
self.pageControl.dotRadius = 4
self.pageControl.dotSpacings = 8

func scrollViewDidScroll(_ scrollView: UIScrollView) {
    pageControl.scrollViewDidScroll(scrollView)
}

Installation

Well it’s just one file, you can find it in the folder called Library, just copy and paste it in your project ?

GitHub

View Github