title: UITabBarController and rotation
body: <p>I'm having a real issue with UITabBarController.
  The outcome I'm after is the following:
  1) in portrait mode, a simple tab bar based application (with navigation bars) nothing too fancy.
  2) in landscape mode, I want to use my own UIViewController ignoring the UITabBar completely.</p>
  
  <p>The approach (I tried many variants) I tried last which I fail to understand why is not "working" is the following:
  
  <li>
  I have a custom UIViewController (Call this AA) that is suppose to manage "everything".
  </li>
  <li>
  This controller is added to the window in application start and in its loadView creates two controllers: a UITabBarController (Call this TBC) and a UILandscapeController (Call this LSC). then I add the tabbarcontroller view as a subview of AA's view.
  </li>
  <li>
  now in AA class I override the didRotate blah or willRotate blah and basically want to switch between the two views, by this I means something like: (pseudo code):
  going from portrait to landscape:
  </li>
  </p>
  
  <pre>
  [TBC.view removeFromSuperView];
  [AA.view addSubview:LSC.view];
  </pre>
  
  <p>and when returning to portrait reverse it.</p>
  
  <pre>
  [LSC.view removeFromSuperView];
  [AA.view addSubview:TBC.view];
  </pre>
  
  <p>The amount of problems I have (well, it simple rotates wrongly creating a real messed up interface) are something completely unexplained. It seems like the tabbarcontroller view does not "like" at all to be in the standard view heirarchy but rather it wants to be attached directly to the screen.
  I wonder what is the best approach to achieve my goal and why the tabbar does not like to be a subview of a view,</p>
  
  <p>any hints mostly appreciated.</p>
  
  <p>-t</p>