Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show "Would like to send you Push Notifications" Alert View again?

enter image description here

I was able to show an Alert View like the image above after registering for Remote Notifications. But when i delete my Project App and build it again, it will not show anymore.

Will there be any chances to show the alert view again to the same device?

What i like is to get my device token again because I failed to store the device token temporarily in the NSUserDefaults.

like image 365
Vincent Bacalso Avatar asked Nov 07 '11 06:11

Vincent Bacalso


1 Answers

  1. Delete your app from the device.

  2. Turn the device off completely and turn it back on.

  3. Go to Settings > General > Date & Time and set the date ahead a day or more.

  4. Turn the device off completely again and turn it back on.

reference: https://developer.apple.com/library/ios/technotes/tn2265/_index.html

like image 118
user2387149 Avatar answered Sep 18 '22 20:09

user2387149