title: Redirect User to Specific ViewController - Swift 4
body: <p>I'm trying to redirect users to the correct page after deletion of the place. </p>
  
  <p><a href="https://i.stack.imgur.com/8tiN8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8tiN8.png" alt="enter image description here"></a></p>
  
  <pre><code>navigationController?.popToRootViewController(animated: true)
  </code></pre>
  
  <p>This will work, if I want to redirect to the root. </p>
  
  <pre><code>navigationController?.popViewController(animated: true)
  </code></pre>
  
  <p>This will work if I want to redirect to the previous</p>
  
  <p>BUT in my case, I want to redirect to a specific page that not the root or the previous one. </p>
  
  <p>How would one go about and do something like this in iOS ? </p>