When I develop an app for iOS (iPhone/ iPad) and I need to request permissions. When I use the camera I need to request the camera permission. This can only be done once.
Settings > General > Reset > Reset Location & Privacy.
This will reset all location, camera and microphone permissions. It cannot be done on a per app basis.
If testing on a real device, uninstalling the app seems to work for me.
To reset all the Location & Privacy permissions you can go to:
Settings > General > Reset > Reset Location & Privacy
To view what Apps have what services and to turn it off for individual services you can go to:
Settings > Privacy > The service you want to view
Here you can turn off the service for individual apps, note that this doesn't mean you'll get the popup message again it just means that app will not use that service.
Another way to reset permissions on iOS simulator is to delete the appropriate database row from the access
table in $SIMULATOR_DEVICE_DIRECTORY/data/Library/TCC/TCC.db
. This can be done per app / service basis.
Another way around this is to change your bundle id. With each new bundle id you provide, it is like a fresh install of the app. Remember to change it back to the original bundle id after testing :)