title: How to hide dots on last view of UIPageViewController SWIFT
body: <p>I want to be able to hide the pagination dots on the last view of a UIPageViewController. There is this <a href="https://stackoverflow.com/questions/36391401/hide-dots-on-final-page-of-uipageviewcontroller-swift">question</a> which has already asked it but it is never answered.</p>
  
  <p>If someone could just give me an overview of how this is achievable. </p>
  
  <p>Thanks</p>
  
  <p>EDIT:</p>
  
  <pre><code>func pageViewController(pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool) {
          pageControl.hidden = true
          print(pageControl.hidden)//Always is false
      }
  </code></pre>