I'm using Xcode to run an app under development on a physical iPhone.
The first time I did this, iOS prompted me to allow or disallow camera access, since the app uses the camera. (The app has the appropriate Info.plist flags for this.)
I want to test what the app does if I agree and what the app does if I disagree, but I can't find a way to get the phone to forget the previous setting, even if I delete the app and try again. Instead, iOS remembers the previous answer instead of prompted again.
Example:
The first time I did this, iOS prompted me to allow or disallow camera access, since the app uses the camera. (The app has the appropriate Info.plist flags for this.)
I want to test what the app does if I agree and what the app does if I disagree, but I can't find a way to get the phone to forget the previous setting, even if I delete the app and try again. Instead, iOS remembers the previous answer instead of prompted again.
Example:
- I install and run the app, via Xcode.
- I get the iOS prompt for camera permission, which I answer one way or the other.
- I quit the app.
- I go to Settings > Privacy > Camera and there's the app's camera permission setting (either ON or OFF).
- I delete the app.
- In Settings > Privacy > Camera, the app is no longer listed.
- I install and run the app again, via Xcode.
- iOS doesn't prompt me for camera permission.
- I go to Settings > Privacy > Camera, and it shows that the previous setting (ON or OFF) has returned.