My application has a notification section in it, and the sum of the notifications are displayed in the form of Badge Count on the app icon. When the user accesses the notifi
Execute below code in didFinishLaunchingWithOptions
if (![[NSUserDefaults standardUserDefaults] objectForKey:@"is_first_time"])
{
[application cancelAllLocalNotifications];
// Restart the Local Notifications list
application.applicationIconBadgeNumber = 0;
[[NSUserDefaults standardUserDefaults] setObject:[NSNumber numberWithBool:YES] forKey:@"is_first_time"]; }