I have an iOS application that should ask the user for permission to access their photos. I am trying to improve the user interface by displaying a prompt and explanation to the user the first time the application asks iOS for permission.
I can use [ALAssetsLibrary authorizationStatus] to get the current status (only my app targets> iOS 6.0 ). I am trying to test the ALAuthorizationStatusNotDetermined case, but I have already granted access to my application. According to another SO request here , the device cannot reset permissions (they are turned on or off, even if the application is uninstalled and reinstalled).
But I wonder if this can be done in the simulator. Can I reset permissions to access photos in the simulator? . You seem to have no questions or answers on Google? Simple removal and reinstallation of the application in the simulator does not work.
Are there any files under the hood we can reset? - seeing how we have access to the file system of simulators, unlike devices.
Any thoughts would be great! Thanks!
source share