In this recipe we will learn how we can use the iOS device's microphone to record sounds.
Following on from our previous recipe, create a new Single View Application, and name it RecorderExample.
To begin, follow these simple steps as outlined in the following order:
AVFoundation.frameworkto your project.
ViewController.xibfiles from the Project Navigator window.
UIToolbarobject, and add this to our view and select the Item button located within our toolbar.