Clear All UILocalNotification from Notification Drawer in iOS9 using ObjectiveC -


in application firing alarm notification, if user ignores after user launch application @ time want clear notification notification drawer fired , not yet seen or tapped.

how can achieve this?

tried:

[[uiapplication sharedapplication] setapplicationiconbadgenumber:0]; [[uiapplication sharedapplication] cancelalllocalnotifications]; 

but cancelling future local notifications.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -