views:

964

answers:

1

Hi guys, What is the code to remove the badge on my app's icon? When I receive push, I need to remove it when a button is clicked!

+8  A: 
[UIApplication sharedApplication].applicationIconBadgeNumber = 0;
Felixyz
Really thank you!! :)
obliviux