title: How to insert UINavigationController inside UITabBarController
body: <p>How to insert <code>UINavigationController</code> inside <code>UITabBarController</code>.</p>
  
  <p>Currently I have main <code>UITabBarController</code> with declatarion inside application delegate like this (so tab is main)</p>
  
  <pre><code>self.window.rootViewController = self.tabBarController;
  </code></pre>
  
  <p>And inside one of tabs I want to insert <code>UINavigationController</code>, and can't get it.</p>
  
  <p>The code is contructed like this:</p>
  
  <ol>
  <li><strong><code>MainWindow.xib</code></strong> with <code>UITabBarController</code> object with tab typed as <code>UINavigationController</code> (point to <code>NavigationHistory.xib</code>) - screenshot: <strong>invalid link</strong></li>
  <li><strong><code>NavigationHistory.xib</code></strong> contains only <code>UINavigationController</code> where view point to History.xib</li>
  <li><strong><code>History.xib</code></strong> have only <code>UITableView</code> element - screenshot: <strong>invalid link</strong></li>
  </ol>
  
  <p>And now <code>UIViewController</code> doesn't display my View1 view, and I have no clue why it may be. Maybe you have any clue? or point me to the place where such configuration is done.</p>