Instance Method


Tells the delegate that the user picked an image.


- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary<UIImagePickerControllerInfoKey, id> *)editingInfo;



The controller object managing the image picker interface.


The image that the user picked. If user editing is enabled, this may be a cropped and adjusted version of the original image. In this case, the original image, and the editing information, are available in the editingInfo parameter.


A dictionary containing any relevant editing information. If editing is disabled, this parameter is nil. The keys for this dictionary are listed in Editing Information Keys.


Your delegate’s implementation of this method should pass the specified image on to any custom code that needs it and then dismiss the picker view.

When user editing is enabled, the picker view presents the user with a preview of the currently selected image along with controls for modifying it. (This behavior is managed by the picker view prior to calling this method.) If the user modifies the image, the editing information is available in the editingInfo parameter. If you don’t need the editing information, simply use the image in the image parameter as is.

Special Considerations

This deprecated method supports picking only still pictures. The replacement method, imagePickerController:didFinishPickingMediaWithInfo:, supports picking movies as well as still pictures.

See Also

Closing the Picker

- imagePickerController:didFinishPickingMediaWithInfo:

Tells the delegate that the user picked a still image or movie.

- imagePickerControllerDidCancel:

Tells the delegate that the user cancelled the pick operation.