简体   繁体   中英

iOS: call native audio recorder

I want to record/play audio on my app. There is anyway to just "call" the native record of iOS, and get the record after done? So, I don't need to develop entire new xib to microphone. Like on Android, that your app can call the microphone's app and get the result.

You can use AVAudioRecorder.

Google will give you some examples. Here is one -

How do I record audio on iPhone with AVAudioRecorder?

You will have to make your own UI for it though.

As i know, there's no any way to call native audio record from your app.

Short answer, check this out - Speak here

Be sure to check this thread - How do I record audio on iPhone with AVAudioRecorder? it's pretty old question though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM