title: iphone Launch Options
body: <p>im not getting any launch options after a push notification; heres the code i have but non of the NSLogs seem to print in the debug area.</p>
  
  <pre><code>UILocalNotification *localNotif =
  [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
  
  if (localNotif) {
      NSString *itemName = [localNotif.userInfo objectForKey:@"aps"];
      NSLog(@"Custom: %@", itemName);
  } else {
      NSLog(@"//////////////////////////");
  
  }
  </code></pre>
  
  <p>when i open the app (via pressing view on the push notification) it goes to the didReceiveRemoteNotification script, im not sure if thats meant to happen..</p>
  
  <p>thanks for reading.</p>