Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reset Permissions like Camera for iOS Apps?

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.

Is there a way to reset initial given permissions at least when I develop an app?

In this way I could check different scenarios for requesting the initial app permissions.

Note: I want to get the initial permission request popup message again.

like image 797
confile Avatar asked Mar 10 '15 14:03

confile


People also ask

How do you reset app permissions iOS?

For iOS apps, tap Settings > General > Reset > Reset Location & Privacy on your device to reset all location and privacy settings for your app as shown in Figure 3.


Video Answer


2 Answers

Settings > General > Reset > Reset Location & Privacy.

This will reset all location, camera and microphone permissions. It cannot be done on a per app basis.

like image 79
Gary Riches Avatar answered Sep 18 '22 21:09

Gary Riches


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 :)

like image 29
Robert Bentley Avatar answered Sep 22 '22 21:09

Robert Bentley