Taking Pictures and UIImagePickerController
In the takePicture: method, you will instantiate a UIImagePickerController and present it on the screen. When creating an instance of UIImagePickerController, you must set its sourceType property and assign it a delegate.
Setting the image picker’s sourceType
The sourceType constant that tells the image picker where to get images. It has three possible values:
The user will take a new picture.
The user will be prompted to select an album and then a photo from that album.
The user picks from the most recently taken photos. ...