would like to access your photos" on iOS For testing purposes, I need to make sure that my application is correctly trying to access t...">

Reset "<app> would like to access your photos" on iOS

For testing purposes, I need to make sure that my application is correctly trying to access the user's photos for all scenarios.

After the user is presented with a dialog box requesting access to the photos, the user will never be presented to him again for this application ... at least I can not understand how they can be.

Obviously, if the user selects "YES", then access is granted and will continue as such if the parameters are not changed in the "User Settings" application. Alternatively, if β€œNO” is selected, you will not have access until these settings are changed.

But for testing, I want to make sure that my application processes any script correctly when the user is first presented in a dialog box. It seems I can only check it once. After that, there seems to be no way to show this dialog again. One way or another, even if the application is uninstalled and reinstalled, the option selected at the first presentation is remembered and the dialog is never displayed.

The only way to check it again is to change the package identifier, clean and run the application again. This essentially installs another or β€œnew” application on the device, and a dialog box is displayed. This is a pretty long job to test. Is there anything else I can do?

+6
source share
1 answer

Switch to:

 Settings > General > Reset > Reset Location & Privacy 

enter image description here

+8
source

All Articles