Reference Link: http://stackoverflow.com/a/4080720
When the IOS app runs for the first time, if you use some sensitive features (such as visiting albums, sending tweets, etc.), a prompt box will pop up asking if the user is allowed. Once the user has chosen to allow or not, there seems to be no regrets after the pill, because even if you reload the app, this box will not pop.
What is the right way to do that?
1. Delete the app
2. Install the app again after one day, and the prompt box will pop up again.
If you're a developer, waiting for the day is definitely not a good strategy the following tips are tested via iOS 7: Delete your app from the device. Turn the device off completely and Turn it back. Go to Settings > General > Date & Time and set the date ahead A/more. Turn the device off completely again and Turn it back.
It's plain and straightforward, I don't have to translate it.