When I updated my iOS into version 13 suddenly the override method RegisteredForRemoteNotifications is not being called so no device token is being received for my phone.
This solves my issues:
https://gist.github.com/ShravanJ/92e5c4254f4e991b01c83bb377cb22bf
Token structure changed for iOS 13
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.