Forum Xamarin.iOS

Some one know how to delete an specific UILocalNotification ?

I do many notifications but all of that are saved whit the same name, so if I want to remove it the only way that I Found is " UIApplication.SharedApplication.CancelLocalNotification(NotificationName); ",
but this delete a notification by name and if all have the same name It will delete all, but I want to delete a one notification in specific, I don't do notifications whit an specific name because they are dynamic. help me please

Best Answer


  • lakhanimilan91lakhanimilan91 INMember ✭✭

    Hi @Alejandro.Ramirez

    You can achieve by storing previous notification object, and when you are going to show new notification first you can cancelNotification.

    Another way is that you always cancel all notification when ever you are going to show new notification.


Sign In or Register to comment.