mrth2 / apns-php

Automatically exported from code.google.com/p/apns-php
0 stars 0 forks source link

Updating or removing the badge #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
HI 

I am having difficulty removing the badge once the notifications has been 
viewed.
I will greatly appreciate any help.

Regards
Luben

Original issue reported on code.google.com by lubeniva...@gmail.com on 16 Feb 2011 at 2:23

GoogleCodeExporter commented 8 years ago
- (BOOL)application:(UIApplication *)application 
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    

[...]

  application.applicationIconBadgeNumber = 0;

[...]
}

Original comment by aldo.arm...@gmail.com on 18 Feb 2011 at 12:39

GoogleCodeExporter commented 8 years ago
Great it worked! 
Thank you very much!

Original comment by lubeniva...@gmail.com on 18 Feb 2011 at 2:08