[UIApplication cancelAllLocalNotifications]
Cancels the delivery of all scheduled local notifications.
- (void)cancelAllLocalNotifications
Example of [UIApplication cancelAllLocalNotifications]
[[UIApplication sharedApplication] setApplicationIconBadgeNumber: 0];
[[UIApplication sharedApplication] cancelAllLocalNotifications];
Example of [UIApplication cancelAllLocalNotifications]
[[UIApplication sharedApplication] cancelAllLocalNotifications];