watchOS: userNotificationCenter(_:didReceive:withCompletionHandler:) not getting called
I’m developing a watchOS app where I need to handle notifications. I’ve implemented the UNUserNotificationCenterDelegate
methods, but it seems that userNotificationCenter(_:didReceive:withCompletionHandler:)
is not being called when a notification is received. while userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification:
is working perfectly.
WatchOS background task does not trigger
I have an Apple Watch app, that should perform a background task.