Why UITabBarViewController does not display the tab bar?
<p>This looks like just a simple problem, but I can't find what's wrong. </p>

<p>I have a <code>UINavigationController</code> pointing to a <code>UIViewController</code> A, pointing to a <code>UITabBarController</code>. The <code>UITabBarController</code> handles two <code>UIViewControllers</code> B &amp; C, so I can see two tab bar item on the <code>UITabBarController</code>. </p>

<p>When the app run, the <code>UIViewController</code> A is shown. Then after tapping on a button, the <code>UIViewController</code> B is shown (which is supposedly within the <code>UITabBarController</code>). But the tab bar is not shown. Only the <code>UIViewController</code> B and navigation bar. </p>

<p>Can someone help why this is happening?</p>

<p>EDIT: some screenshots:</p>

<p><a href="https://i.stack.imgur.com/WsTCwm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WsTCwm.png" alt="Screenshot of the UITabBarViewController"></a></p>

<p><a href="https://i.stack.imgur.com/sacOul.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sacOul.png" alt="The UITabBarViewController is assigned properly to the flow"></a></p>