title: How to get a reference to previous viewController in Swift?
body: <p>Can somebody help me get a reference of the previous <code>viewController</code> in the <code>UINavigationController</code> stack? I'm sure it's straight forward but I'm a bit tapped at the moment.</p>
  
  <p><a href="https://i.stack.imgur.com/tgYjE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tgYjE.png" alt="enter image description here"></a></p>