title: how to make iPhone app asks to register device for push notification multiple times
body: <p>I have used the following code to register my app to receive push notification, and I got the alert that asks me to register for push notification and I accidentally press cancel.
  Now I want to have the alert again so I can fire the delegate method in order to get the device token. But I don't get this alert any more and every time I open the settings I found that the notification is turned off for the app. I tried to delete the app from device, change app version, delete testing profile ,clean the target even I reset all the iPhone settings, but still was not able to solve this.I would very much appreciate any help,
  thanks  </p>
  
  <pre><code>[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
       UIRemoteNotificationTypeBadge | 
       UIRemoteNotificationTypeAlert | 
       UIRemoteNotificationTypeSound];  
  </code></pre>