title: Adding TabBarController to splitViewController
body: <p>I have removed the "detail" navigationController from the "master-detail" template to reconnect it correctly to a tabBarController and move the "detail" viewController to the first tab.</p>
  
  <p>Then I got this error: </p>
  
  <p>2014-01-07 21:11:20.364 master-detail[3033:70b] -<code>[UITabBarController topViewController]</code>: unrecognized selector sent to instance 0x9e46e70
  2014-01-07 21:11:20.366 master-detail[3033:70b] <em>*</em> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-<code>[UITabBarController topViewController]:</code> unrecognized selector sent to instance 0x9e46e70'</p>
  
  <p>So I replace this line in function "application - didFinishLaunchingWithOptions":
   ...</p>
  
  <pre><code> UINavigationController *navigationController = [splitViewController.viewControllers lastObject];
  </code></pre>
  
  <p>For:</p>
  
  <pre><code> UITabBarController *tabBarController = [splitViewController.viewControllers lastObject];
   UINavigationController *navigationController = tabBarController.viewControllers[0];
  </code></pre>
  
  <p>But still:
  2014-01-07 20:59:38.377 EngLogBook[2955:70b] -<code>[elbDetailViewController topViewController]</code>: unrecognized selector sent to instance 0x8d86ff0
  2014-01-07 20:59:38.380 EngLogBook[2955:70b] <em>*</em> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-<code>[elbDetailViewController topViewController]</code>: unrecognized selector sent to instance 0x8d86ff0'</p>
  
  <p>What's wrong?</p>
  
  <p>For both iPad and iPhone storyboard. iPhone work just great but iPad is messy.</p>