I had my app for iOS 9 implementing application(_:didRegisterForRemoteNotificationsWithDeviceToken:)
that gets invoked whether or not user accepts to receive Push Notifications, hence I get and store on the remote server the device token in both cases.
Now with iOS 10 this delegate method never gets called if user does not accept to receive Push Notifications... Is there any other way to get the device token in such a case?