title: Get push notification while App in foreground iOS
body: <p>I am using push notification service in my app. When app is in background I am able to see notification on notification screen(screen shown when we swipe down from top of iOS device). But if application is in foreground the delegate method </p>
  
  <pre><code>- (void)application:(UIApplication*)application didReceiveRemoteNotification:(NSDictionary*)userInfo
  </code></pre>
  
  <p>is getting called but notification is not displayed in notification screen. </p>
  
  <p>I want to show notification on notification screen independent of whether app is in background or foreground. I am tired by searching for a solution. Any help is greatly appreciated.</p>