The requestRecordPermission function memorize user's first time choice & it doesn't show the granting record permission alert if user has previously denied recording permission.
How can I always pop up the granting recording permission alert if previously user denied recording permission?
[[AVAudioSession sharedInstance] requestRecordPermission:^(BOOL granted) {
if (!granted) {
// Microphone permission is not granted previously,
// How to pop up granting alert/dialog again?
// (My app supports iOS 7 and above)
}
}];
I know how to detect whether the permission is granted or not, my question is about after recording(microphone) permission has been denied once, how can I present the granting permission alert again to user?
(My app needs to support iOS7 and above)