title: Application openURL gets called a few seconds after didFinishLaunchingWithOptions
body: <p>I have a deep linking feature in my app that works fine beside one case.
  I have a 3 different onboarding pages according to the url that opened the app.
  So when the app is launched i need to know what link(if any) opened the app and then present the right onboarding page. The problem is that i need to know what screen to present in the method:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
  </code></pre>
  
  <p>but i can only know if a deep link opened the app in</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application
              openURL:(NSURL *)url
    sourceApplication:(NSString *)sourceApplication
           annotation:(id)annotation 
  </code></pre>
  
  <p>which gets called 5 seconds after did <code>didFinishLaunchingWithOptions</code> is called(i counted the seconds). So i have 5 seconds that i see a wrong onboarding page untill <code>openURL</code> is called(if it will be called) .</p>
  
  <p>So my question is: is there any way to know if the app was launched from a url before or during <code>didFinishLaunchingWithOptions</code>?</p>
  
  <p>By the way <code>launchOptions</code> in <code>didFinishLaunchingWithOptions</code> is nil when the app opens from a deep link</p>