1

Possible Duplicate:
How to clear preference iOS push notifications for my application?

How do I force the iOS alert view that says "[AppName] would like to send you push notifications?" It never shows after the first time.

I want to do this for testing, we found a problem in our app where the alert view showed and caused a problem in a flow of view controllers.

Community
  • 1
  • 1
jjxtra
  • 20,415
  • 16
  • 100
  • 140
  • This is a duplicate of a similar question: [http://stackoverflow.com/questions/9959629/how-to-clear-preference-ios-push-notifications-for-my-application/10208336#comment13113717_10208336][1] [1]: http://stackoverflow.com/questions/9959629/how-to-clear-preference-ios-push-notifications-for-my-application/10208336#comment13113717_10208336 – Greg Apr 18 '12 at 14:14
  • 1
    See [my response](http://stackoverflow.com/questions/6780795/reset-push-notification-settings-for-alert/10207040#10207040) to a similar question and more about the issue in general in [another response](http://stackoverflow.com/questions/10191006/objective-c-detect-when-user-change-the-apps-notifications-settings). In short there is a procedure outlined by Apple in [technical note TN2265](http://developer.apple.com/library/ios/#technotes/tn2265/_index.html), but it looks like it not always works. – Greg Apr 18 '12 at 11:23

1 Answers1

-3

You'll have to delete the app and install it again.

ninjaneer
  • 6,951
  • 8
  • 60
  • 104