Home:ALL Converter>Check for mic permission on iOS 7 without showing prompt

Check for mic permission on iOS 7 without showing prompt

Ask Time:2013-10-27T13:53:33         Author:Tony

Json Formatter

The only documented method for checking mic permission on iOS 7 that I could find is requestRecordPermission documented on AVAudioSession. https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVAudioSession_ClassReference/Reference/Reference.html#//apple_ref/occ/instm/AVAudioSession/requestRecordPermission:

However, the very act of checking permission using this method will display an alert asking user for permission if user hasn't already made a decision, which can be very undesirable. Is there a work around to check mic permission without showing a prompt?

Author:Tony,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/19615105/check-for-mic-permission-on-ios-7-without-showing-prompt
yy