The only documented method for checking mic permission on iOS 7 that I could find is requestRecordPermission
documented on AVAudioSession
. https://
In iOS 8, they added a new property to AVAudioSession:
[AVAudioSession sharedInstance].recordPermission
That returns a AVAudioSessionRecordPermission
:
enum {
AVAudioSessionRecordPermissionUndetermined = 'undt',
AVAudioSessionRecordPermissionDenied = 'deny',
AVAudioSessionRecordPermissionGranted = 'grnt'
};
typedef NSUInteger AVAudioSessionRecordPermission;
But there doesn't seem to be a way in iOS 7.