title: iOS app launch due to NSUserActivity. How do access that object?
body: <p>So testing some ios9 beta features as of now, but <code>NSUserActivity</code> class has been out for a while, which is used in handoff.</p>
  
  <p>Basically this is it. When app launches doe to NSUserActivity, I can see that this the <code>launchOptions</code> has a key set.</p>
  
  <pre><code>    NSDictionary *userActivityKey = [launchOptions objectForKey:UIApplicationLaunchOptionsUserActivityDictionaryKey];
  </code></pre>
  
  <p>Basically the method never gets called. </p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray * __nullable restorableObjects))restorationHandler
  </code></pre>
  
  <p>This makes sense as the app is just being opened due to the activity.
  But what is puzzling me is this. </p>
  
  <p>When I check the launchOptions, I am not able access the <code>NSUserActivity</code>. Apparently the OS creates that object for you??</p>
  
  <p>Did any of you guys deal with this? </p>