Using an image picker controller to capture a picture or video is a three-step process that involves interaction between your code and the system. A situation of the UIImagePickerControllerclass is that you instantiate and modally give a camera user interface.
The system handles the camera user interface and the user's interaction with it. In most cases, the user either takes a photograph or a motion picture or cancels the procedure.
The system calls your image picker controller's delegate item approaches, which then handles the user's interaction results, such as saving a new photo to the Camera Roll album.