Search code examples
iosiphoneaudio-recordingdata-conversion

How to record audio and get it as NSData in iOS?


I want to record some thing in my app and post it to some API. Please help


Solution

  • This simple tutorial might help you

    https://www.appcoda.com/ios-avfoundation-framework-tutorial/

    Once you are done recording then you have to choose do you want

     AFNetworking or NSURLConnection 
    

    to send the audio to the server