How iOS behaves when we implement both didReceiveRemoteNotification as well as UNUserNotificationCenterDelegate method -
optional public func userNotificationCenter(_ center:
UNUserNotificationCenter, didReceive response: UNNotificationResponse,
withCompletionHandler completionHandler: @escaping () -> Swift.Void)
As per documentation didReceiveRemoteNotification is deprecated but if app has implemented both delegate method, which one get call for iOS 10 app as well as iOS 9 app on XCode 8 (swift 3)?
didReceiveRemoteNotification
is deprecated? – Voice