I was wondering which delegate function, we should use in swift 3.0 instead of :
func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void)
for handling notifications, when received as this delegate function is deprecated. I checked this link as well: UILocalNotification is deprecated in iOS10 but didn't find receiving delegate. If I Use same delegate function, the delegate isn't is getting called.
Thanks.