In swift4
You can solve this issue with
DispatchQueue.main.async {
UIApplication.shared.registerForRemoteNotifications()
}
Hope this will help…
In swift4
You can solve this issue with
DispatchQueue.main.async {
UIApplication.shared.registerForRemoteNotifications()
}
Hope this will help…