title: How do I return to my primary display (A) if I go from screen A to B to C back to B using unwindSegue
body: <p>I currently am learning how to program in Swift and have made 3 different pages; <code>Pages A, B, and C</code>. From <code>page A</code>, I am able to navigate to <code>page B</code>, and from <code>page B</code>, I am able to go to either <code>page C</code> or <code>page A</code>. When I go to <code>page C</code> I can go back to <code>page B</code> or <code>page A</code>.</p>
  
  <p>The issue that I am running into however is that if I go from <code>Page A</code> to <code>Page B</code> to <code>Page C</code> back to <code>Page B</code>, when I try to close <code>Page B</code>, it would display <code>Page C</code> briefly before closing back to <code>page A</code>.</p>
  
  <p>All of these are on separate <code>viewcontrollers</code> and I've just been presenting all of them modally each time</p>
  
  <p>I've tried using <a href="https://matteomanferdini.com/unwind-segue/#jumping" rel="nofollow noreferrer">Unwind Segues Step-by-Step </a> and <a href="https://medium.com/@mimicatcodes/create-unwind-segues-in-swift-3-8793f7d23c6f" rel="nofollow noreferrer">Create Unwind Segues in Swift 3
  </a> to understand what I've been doing wrong, however from what I've read on them (and from my limited knowledge of Swift), none of them discuss going back a single page and then trying to close after. They all go from <code>1 -&gt; 2 -&gt; 3</code> back to <code>1</code> without the intermediate step of going back to <code>page 2</code>.</p>
  
  <p><code>@IBAction func close (_ unwindSegue: UIStoryboardSegue){}</code> is what I've been using as my unwindSegues linking these up to my Exit placeholder. This was done on both <code>Pages B and C</code></p>
  
  <p>Currently there is no error message, it appears to work but it does show that intermediate screen which is not what I am looking for.</p>
  
  <p>Thanks!</p>