title: Removing badge from iOS app icon
body: <p>In this application that I'm trying to make, I use push notifications. This part works just fine. When I send a notification I also add a badge to the app icon. The problem is when I lunch the application it should disappear again, but it does not.</p>
  
  <pre><code>-(IBAction)Push{
  
      NSMutableDictionary *data = [NSMutableDictionary dictionary];
  
      [data setObject:@"Numfeud: Troels made a move!" forKey:@"alert"];
  
      [data setObject:[NSNumber numberWithInt:1] forKey:@"badge"];
  
      [data setObject:@"bar" forKey:@"foo"];
  
      [PFPush sendPushDataToChannelInBackground:@"GameChannel2" withData:data];
  }
  </code></pre>
  
  <p>In the <code>application didFinishLaunchingWithOptions</code> I try to set badge to 0 in this way:</p>
  
  <pre><code>[UIApplication sharedApplication].applicationIconBadgeNumber = 0;
  </code></pre>
  
  <p>How can I clear the application icon badge?</p>