title: Double return to previous view - Swift
body: <p>I'm new with IOS and Swift so don't judge if solution is easy.</p>
  
  <p>I have three <code>ViewControllers</code> like A,B and C.</p>
  
  <p>I started from <strong>A -> NavigationController -> B -> NavigationController -> C</strong></p>
  
  <p>In specific situation I need to come back from C to A without seeing B. Is any way to do this? </p>
  
  <p>Maybe changing the parent navigationController? Maybe I can print stack with every current view? - it will be really helpful.
  I tried dismiss C and B view one by one and it work's but then we can see B view for a moment - so it's not a solution for me.
  P.s : I'm using Modal kind to switch between controllers.  </p>
  
  <p><a href="https://i.stack.imgur.com/2eYtU.png" rel="nofollow noreferrer">enter image description here</a></p>