title: Handle Multiple Local Notification in IOS SDK
body: <p>In my Background method, i scheduled the two notification as follow.</p>
  
  <pre><code>- (void)applicationDidEnterBackground:(UIApplication *)application
  {
     localNotification = [[UILocalNotification alloc] init]; //Create the localNotification object which is declared in appDelegate.h
      [localNotification setFireDate:[NSDate dateWithTimeIntervalSinceNow:[datePicker countDownDuration]]]; //Set the date when the alert will be launched using the date adding the time the user selected on the timer
      [localNotification setAlertAction:@"Launch"]; //The button's text that launches the application and is shown in the alert
      [localNotification setAlertBody:[alertBodyField text]]; //Set the message in the notification from the textField's text
      [localNotification setHasAction: YES]; //Set that pushing the button will launch the application
      [localNotification setApplicationIconBadgeNumber:[[UIApplication sharedApplication] applicationIconBadgeNumber]+1]; //Set the Application Icon Badge Number of the application's icon to the current Application Icon Badge Number plus 1
      [[UIApplication sharedApplication] scheduleLocalNotification:localNotification]; //Schedule the notification with the system
  </code></pre>
  
  <p>//    <strong><em>*</em>*</strong>       Notification 2*<strong><em>*</em>*</strong></p>
  
  <pre><code>localNotification2 = [[UILocalNotification alloc] init]; //Create the localNotification object which is declared in appDelegate.h
          [localNotification2 setFireDate:[NSDate dateWithTimeIntervalSinceNow:[datePicker countDownDuration]]]; //Set the date when the alert will be launched using the date adding the time the user selected on the timer
          [localNotification2 setAlertAction:@"Launch"]; //The button's text that launches the application and is shown in the alert
          [localNotification2 setAlertBody:[alertBodyField text]]; //Set the message in the notification from the textField's text
          [localNotification2 setHasAction: YES]; //Set that pushing the button will launch the application
          [localNotification2 setApplicationIconBadgeNumber:[[UIApplication sharedApplication] applicationIconBadgeNumber]+1]; //Set the Application Icon Badge Number of the application's icon to the current Application Icon Badge Number plus 1
          [[UIApplication sharedApplication] scheduleLocalNotification:localNotification2]; //Schedule the notification with the system
  
  }
  </code></pre>
  
  <p><strong>It works fine for coming the notification.</strong></p>
  
  <p><strong>Question</strong></p>
  
  <p>How can I detect which notification is come in <code>didreceivenotification method</code>??
  Because I want to do the different task based on the notification came.</p>