iOS 10 Push Notification API force touch & close button handler/action with Swift 3.x
I have been working with actions in Rich Push Notifications iOS 10 but stuck on following:
- Is there any way to determine if a user clicks on "close or cross button" on notification.
- How to determine if a user views a notification on lock screen by using default "force touch" or "view action" (in case old devices)
- Is above even possible with latest Push Notification API