title: Swift popToRoot not working
body: <p><img src="https://i.stack.imgur.com/409wr.png" alt="www.dropbox.com/s/jrzrst5qtfq6op2/Screenshot%202015-03-20%2022.27.42.png?dl=0"></p>
  
  <p>This highlighted line is where should popToRoot proceed, after a successful registration it should redirect to Root View Controller. For some reason it's not working for me, literally nothing happens, not even error.</p>
  
  <p>I tried with </p>
  
  <pre><code>self.navigationController?.popToRootViewControllerAnimated(true)
  </code></pre>