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