Reset push notification settings for app

Posted by hanno on Stack Overflow See other posts from Stack Overflow or by hanno
Published on 2010-03-13T13:00:36Z Indexed on 2010/03/13 13:05 UTC
Read the original article Hit count: 950

I am developing an app with push notifications. To check all possible ways of user interaction, I'd like to test my app when a user declines to have push notifications enabled for my app during the first start.

The dialog (initiated by registerForRemoteNotificationTypes), however, appears only once per app. How do I reset the iPhone OS's memory of my app. Deleting the app and reinstalling doesn't help.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk