3

I've been trying to make the AVAudioRecorder work with iOS dictation. What I have done so far was to start the AVAudioRecorder first then the user with press the mic button on the keyboard to start the dictation. I found out that the dictation interrupts the AVAudioRecorder and the recording stops. Using AVAudioSessionInterruptionNotification, I tried to restart the recording as soon as it interrupted. It worked but the dictation does not "hear" anything.

Is there a way to record the user's voice while using dictation in iOS? (I'm also aware that unlike android, Objective C does not expose the voice data being sent to their server.)

Nevik Rehnel
  • 49,633
  • 6
  • 60
  • 50
Jace
  • 439
  • 1
  • 7
  • 19

0 Answers0