title: Come back to the tabBarController, swift
body: <p><br/>
  Currently on my viewController : <strong>Upload</strong>, my button send the data to my database only if all the information are filled out, and I come back to the preview view (table View) with : <br/>
  <code>self.navigationController?.popViewControllerAnimated(true)</code></p>
  
  <p>I would like, if it is possible, to come back to my main view on the <a href="http://i.stack.imgur.com/iLmBp.png" rel="nofollow">tabBarController</a>. I tried many things, like directly on the storyboard with <strong>Present modally segue to "TabBar controller"</strong>, but I come back to the TabBar without sending my data to the database and without checking in the information are filled out..</p>
  
  <p><strong>How can I do it?</strong></p>
  
  <p>Thanks!</p>