title: applications expected to have a root view controller console
body: <p>I am getting a message within the console when I run my app that says: </p>
  
  <blockquote>
    <p>2011-11-16 19:17:41.292 Juice[8674:707] Applications are expected to have a root view        controller at the end of application launch</p>
  </blockquote>
  
  <p>I have heard from others that this has to do with the method <code>didFinishLaunchingWithOptions</code></p>
  
  <p>If anyone has any suggestions for why I am getting this error, it would be much appreciated.</p>
  
  <p>My code for the method:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
  
      // Override point for customization after application launch.
  
      [window addSubview:tabBarController.view];
      [window makeKeyAndVisible];
  
      [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationFade];
  
      return YES;
  }
  </code></pre>