title: How to Increment the Push notification Badge iPhone
body: <p>Is it possible to increment the badge value on receiving the notification. OR Should I send the count as <strong>payload</strong>?</p>
  
  <p>If i am sending the badge value as "1" every time, how could i increment the <strong>badge-value</strong> in the icon of the app if the app is not open.</p>
  
  <p>I used this code but doesn't work.</p>
  
  <pre><code>-(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
  {
      [UIApplication sharedApplication].applicationIconBadgeNumber = [UIApplication sharedApplication].applicationIconBadgeNumber + 1; 
  }
  </code></pre>