UserNotificationCenter class
A class that creates local notifications based on the newer iOS 10+ API. The notifications are configured to show even when the app is in the foreground. You can also add actions to the notifications: See the attached example
This is an addition to the UserNotificationCenter class.
removeAllPendingNotificationRequests() | Apple Developer Documentation
Removes all of your app’s pending local notifications.
B4X:
'Removes all of your app’s pending local notifications.
Public Sub RemoveAllPendingNotifications
NotificationCenter.RunMethod("removeAllPendingNotificationRequests", Array())
End Sub