I am working on an iPhone app with Apple Push Notification integration. I have some doubts on this.
If the user clicked \"Dont Allow\" button
I have tested with Xcode 6.1, ios8.1.2. Currently the device token will be generated only in two cases
By declining first time with apple's consent, will not generate device token, till manually change the value in settings page.