I am trying to set an image for UIPageControl dots.
I need to change the default dots, instead of that I need an image. I used the below code
self.pageCtrl.currentPageIndicatorTintColor = UIColor.init(patternImage: UIImage(named: "Page Indicator_Selected")!)
self.pageCtrl.pageIndicatorTintColor = UIColor.init(patternImage: UIImage(named: "Page Indicator_Normal")!)
I could set the image in Pagecontrol but, it is overlapping with default dots.