In previous article, we find out how to show a dynamic notification, In this article we want to add response to our local notifications.
First of all, we should set local notifications, I use my previous project, where we want to set notification category we should add actions to notification:
I wanted to show a dynamic notification on a standalone watchOS App, and none of the available articles about this worked for me! So I decided to write this article.
what we are going to do? first of all, creating a project; then , setting up local notifications, setting up dynamic views; and finally, showing dynamic notifications.
open Xcode and select “create a new Xcode project”, select “WatchOS” Tap and “Watch App” and then click on “Next”.