title: didReceiveRemoteNotification and Badge Number
body: <p>Alright im a bit stuck on how to work this.</p>
  
  <p>First ill show you the code.</p>
  
  <pre><code>- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
      NSString *badge = [apsInfo objectForKey:@"badge"];
      NSLog(@"Received Push Badge: %@", badge);
      application.applicationIconBadgeNumber = [[apsInfo objectForKey:@"badge"] integerValue];
  }
  </code></pre>
  
  <p>sorry for the abundance of mess, the Code button was not working.</p>
  
  <p>Now my push gateway provides a number each time for how many alerts are being sent, etc, but if there are previous alerts, how would i get this code to just add +1 to the list instead of just setting the new number</p>