How can i remove a notification by id? #347
Answered
by
BrianJRobinson
Kiriakos41
asked this question in
Q&A
-
I want after i add a notification to center if i want it to remove / cancel it via id somehow? |
Beta Was this translation helpful? Give feedback.
Answered by
BrianJRobinson
Jan 12, 2023
Replies: 1 comment 1 reply
-
// notifId is the Identifier of the Notification that was created. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thudugala
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// notifId is the Identifier of the Notification that was created.
LocalNotificationCenter.Current.Cancel(new int[] { notifId }); works for me in Android, but seems to do nothing in iOS 16.2