title: iOS Swift: UIPageViewController - Turning page programmatically
body: <p>I have a UIPageViewController, which works fine when we swipe left or right to turn pages.</p>
  <pre><code>class ViewController: UIViewController, UIPageViewControllerDataSource {
  ...
  }
  </code></pre>
  <p>Now I intend to provide Previous/Next button on the page too, so that pages can be turned by clicking on these buttons.</p>
  <p>How can I trigger the swipe left/right behaviour OR turn pages programmatically?</p>
  <hr />
  <h3>Note</h3>
  <p>This is a question for <strong>Swift</strong> language, not Objective-C.</p>