Get DeviceToken For Push Notifications after logout and login again?

Viewed 739

I have done the process of getting the device token and storing it in userdefaults.For the first time login its working perfectly.And when the user logout and came back to login again the device token is nil. I want to call the didRegisterForRemoteNotificationsWithDeviceToken in LoginViewController to get the device token.

1 Answers
Related