title: IOS 5 Using App Delegate To Load a Modal
body: <p>i'm building an app for ios5 and i have the following problem:</p>
  
  <p>In ios4 when i need to present a login modal view on app start i do the following: 
  in the AppDelegate i load it in method didFinishLaunchingWithOptions using the referenced  View Controller.</p>
  
  <pre><code>@interface MyAppDelegate : NSObject &lt;UIApplicationDelegate, UITabBarControllerDelegate,LoginViewControllerDelegate&gt; {
      UIWindow *window;
      UITabBarController *tabBarController; //THIS
  
      UIView *splashView;
  
      User *user;
  }
  </code></pre>
  
  <p>But now, in ios5 using storyboards, i can't find how to do this because in my AppDelegate i don't have any reference to any view controller and i don't know how to get them.</p>
  
  <p>Any idea about this? </p>
  
  <p>Thanks</p>