Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
318 views
in Technique[技术] by (71.8m points)

objective c - 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.

question from:https://stackoverflow.com/questions/28966043/reset-permissions-like-camera-for-ios-apps

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Settings > General > Reset > Reset Location & Privacy.

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...