Microphone Permissions and ReplayKit

When you start a replayKit recording, and you have isMicrophoneEnabled on the RPScreenRecorder, a dialog pops up to the user asking them if they want to allow the microphone. If they choose Yes or if they choose No, there is no feedback to the app, so in our UI we don't know whether to show a microphone on/off button or not. This means that either we: have a button that may or may not work, or we always (or never) turn the microphone on. Neither of these are good experiences.


Any suggestions here?

Replies

>isMicrophoneEnabled


I'm not sure it's about (turning a microphone) on/off, more like "yes/no; a microphone is available/online/connected/choosen/working".


Once the answer is yes, the only on/off pertains to recording...start/stop.