title: How to jump to a particular page with UIPageViewController?
body: <p>I'm using Xcode 8's default Page-based application, and I'm stuck trying to jump to a particular page (as opposed to swiping left and right to turn). I have found similar questions on StackOverflow, but the answers mostly suggested using this method:</p>
  
  <pre><code> setViewControllers:direction:animated:completion
  </code></pre>
  
  <p>I don't need to change the number of pages to be displayed, so can I avoid using <code>setViewControllers</code>?</p>
  
  <p>After reading through Xcode's page-based application template, I think this function may work:</p>
  
  <pre><code>func viewControllerAtIndex(_ index: Int, storyboard: UIStoryboard) -&gt; DataViewController?
  </code></pre>
  
  <p>However, I don't know where to get the parameter <code>storyboard: UIStoryboard</code>, since ModelController (the controller that serves as UIPageViewControllerDataSource) isn't part of the storyboard. </p>