title: How to hold splashscreen until process in app delegate is over?
body: <p>In app delegate I put some func, I want the splashscreen waiting till the appdelegate finished its func. Now, my app immediately run initial view controller func and app delegate func together.</p>
  
  <pre><code>func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
      // Override point for customization after application launch.
  
      let email = NSUserDefaults.standardUserDefaults().stringForKey("userEmail")
      if let email = email {
         reLogin()
      }else{
          buildNavigationDrawer()
      }// I want this execute first and run the initial view controller's after
  
      return true
  }
  </code></pre>
  
  <p>How to do this? or is that a way to turn off the initial view controller?</p>