Customising the page dots
Customisation of the page controller dots can be achieved by modifying UIPageControl.appearance().
let appearance = UIPageControl.appearance()
appearance.pageIndicatorTintColor = UIColor.red.withAlphaComponent(0.6)
appearance.currentPageIndicatorTintColor = .red
appearance.backgroundColor = .yellow