I am trying to implement communication between WatchExtension and iOS App. I would like every time I press the UI button on Apple Wach to follow the method on the iOS application side (regardless of whether the application is in the background or in the foreground).
Will you help me find an example of such communication?