Pop to root controller but to specific tab on the tab controller
<p>I have 5 tabs and when popping to the root controller it takes me to the last used tab.  Is there a way I can jump to a specific tab?</p>

<pre><code> //takes me to last used tab on the tab controller
 @IBAction func goHome(sender: AnyObject)
{
 self.navigationController?.popToRootViewControllerAnimated(true)
}
</code></pre>

<p>for example, If I have 10 view controllers open and then click on the button above I want to jump to tabcontroller index 0 which is the home page</p>