title: How to increment application badge number for recurring local notification (iPhone)
body: <p>I've setup a local notification that repeats every minute, however I need the application badge number to increment each time. When I run it at the moment it doesn't seem to increase, it just stays a 1. Please can someone help me out?</p>
  
  <p>Here is how I create the notifications:</p>
  
  <pre><code>// Create the UILocalNotification
  UILocalNotification *myNotification = [[UILocalNotification alloc] init];
  myNotification.alertBody = @"Blah blah blah...";
  myNotification.alertAction = @"Blah";
  myNotification.soundName = UILocalNotificationDefaultSoundName;
  myNotification.applicationIconBadgeNumber++;
  myNotification.timeZone = [NSTimeZone defaultTimeZone];
  myNotification.repeatInterval = NSMinuteCalendarUnit;
  myNotification.fireDate = [[NSDate date] dateByAddingTimeInterval:30];
  [[UIApplication sharedApplication] scheduleLocalNotification:myNotification];
  </code></pre>