A method identified as deprecated has been superseded and may become unsupported in the future.
Tells the delegate that the user picked an image. (Deprecated in iOS 3.0. Use imagePickerController:didFinishPickingMediaWithInfo:
instead.)
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)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.
This deprecated method supports picking only still pictures. The replacement method, imagePickerController:didFinishPickingMediaWithInfo:
, supports picking movies as well as still pictures.
UIImagePickerController.h
Last updated: 2010-07-13