UINavigationController poptorootviewcontroller and select another tab makes transition like push a view controller
<p>I have a tab bar controller, and each tab has a <code>UINavigationController</code>. It's something looks like this:</p>

<pre><code>[tab1:UINavigationController,  tab2:UINavigationController, tab3:UINavigationController]
</code></pre>

<p>tab1 has a view controller which allows a user to post something. Something like this:</p>

<pre><code>tab1:rootviewcontroller -&gt; SelectLocationViewController -&gt; CreatePostViewController
</code></pre>

<p>and Tab 3 is the <code>viewController</code> shows whatever user posted, like this</p>

<pre><code>tab3:navigationController(rootViewController:PostHistoryViewController)
</code></pre>

<p>what I want to do is that when user finished post something, it will navigate back to the tab bar controller and select Tab 3. But I want the whole transition looks like pushing a view controller. How to do it?</p>