Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Repeating the process of requestAccessToEntityType:EKEntityTypeEvent during development

I am developing an app that needs access to the calendar data base. I put in a code that now asks for permission which I found on the site, and thanks for that:

requestAccessToEntity iOS6- Backwards compatibility - EKEventStore

However for testing purposes I would like to be able to deactivate the permission and rerun the app so that the question is asked again. If I delete the app from the device and reinstall it, the device remembers that the permission was asked and will not ask again. If I turn the permission off again the permission will not be asked again but obviously none will not be accessible. So How can I make the device fully forget that it has installed the app. Thanks

Reza

like image 799
reza23 Avatar asked Oct 17 '12 14:10

reza23


1 Answers

Settings - General - Reset - Reset Location & Privacy

like image 147
craigmarch Avatar answered Sep 28 '22 15:09

craigmarch