Monday, 6 January 2020

Determine if UNNotificationResponse is from watch extension or iOS app

When handling a location notification in the UNUserNotificationCenterDelegate using func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) is it possible to determine if the user interacted with the notification using the watch app or on the iOS device?



from Determine if UNNotificationResponse is from watch extension or iOS app

No comments:

Post a Comment