Dismiss IOS Notification from NotificationContentExtention

Is it possible to dismiss/cancel a local notification from a button with in NotificationContentExtension? I was only able to dismiss the NotificationContentExtension itself, but not the entire notification. if #available(iOSApplicationExtension 12.0, *) { self.extensionContext?.dismissNotificationContentExtension() } Source: Ios

By YardenST
Categorised as ios, notification-content-extension, notifications, swift

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us