title: Dismiss modal segue
body: <p>I am trying to understand modal vs push segue and read few Q &amp; A like <a href="http://www.quora.com/Storyboards-Xcode/What-is-the-difference-between-a-push-and-modal-segue" rel="nofollow noreferrer">this</a> and <a href="https://stackoverflow.com/questions/9392744/difference-between-modal-and-push-segue-in-storyboards">this</a>. One point I am confused from these answers is <strong>"The presenter should take care of dismissing the VC it presented."</strong></p>
  
  <p>For example, the example I am writing shows UIPageViewController something like the example available <a href="http://www.appcoda.com/uipageviewcontroller-tutorial-intro/" rel="nofollow noreferrer">here</a>, with a button at bottom of the page with name "Skip".</p>
  
  <p>In story board I have created a segue (of type Modal) from "Skip" button to another "View Controller" (let us say LoginViewController), but where do I need to dismiss the UIPageViewContoller (if at all required) and how? </p>
  
  <p><strong>EDIT:</strong>
  After little bit more reading, it seems UIPageViewController (Which has Skip button) should take care of dismissing LoginViewController (because UIPageViewController is the presenter).</p>
  
  <p>In my case, after Login complete, I would like to navigate to "Menu" page, then how can I ask UIPageViewController to dismiss the "LoginViewController" and move to MenuController? I couldn't find any example on how this works.Any help would be appreciated!</p>