In this recipe, we will learn how to use the iOS device camera for capturing media.
Following on from our previous recipe, create a new Single View Application, and name it CameraPickerExample.
To begin, follow these simple steps as outlined in the following order:
ViewController.xibfiles from the Project Navigator window.
UIToolbarobject, and add this to our view and click on the Item button located within our toolbar.
UIBarButtonItem, and name it