title: iOS Push notification issue
body: <p>I am doing a project in which <strong>push notification feature</strong> is one of the key feature.<br>
  It is working fine when I am in the app, I receive notification and handle that notification.</p>
  
  <p>But the issue is when I am in background and notification receives I see badge on my app icon
  and when I click on the icon my app is launching but the <code>didReceiveRemoteNotification</code> method is not called so I am unable to handle that notification.</p>
  
  <p>And another issue is some times it shows the notification message in <code>device notification list</code> and some times it didn't .  </p>
  
  <p>When I am entering in my app through clicking on notification list item the <code>didReceiveRemoteNotification</code> calls and I am successfully able to handle notification.
  I write following code in <code>didFinishLaunchingWithOptions:(NSDictionary *)launchOptions method</code></p>
  
  <pre><code>NSDictionary* remoteNotif = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
  if (remoteNotif != nil)
  {
      NSLog(@"didFinishLaunchingWithOptions\nNotification recieved:\n%@",remoteNotif);
  
      notificationData=[[NSDictionary alloc]initWithDictionary:remoteNotif];
      [notif saveNotification:remoteNotif];
  }
  </code></pre>
  
  <p>Help me to resolve this .
  Thanks in advance.</p>