Removing badge from iOS app icon
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. -(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]; } In the application