简体   繁体   中英

Remove iOS7 Microphone permission in order to test permission decline

New in iOS7 (I believe) the user must give permission for the app to use the microphone. This is a similar request as when the app wants to get location information.

I was asked once for permission. Now, I'd like to test my app to see how it reacts when the user declines this permission. I've deleted the app from the phone, but I'm not asked for permission again.

Any idea how to clear this permission over and over so that I may test when this permission is requested and how the app reacts when it's denied.

设置>常规>重置>重置位置和隐私

Go to privacy section of the settings app, there will be an option for microphone, turn 'off' your app. Then kill you app and start fresh.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM