Tells the delegate that the user picked an image.
- iOS 2.0–3.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
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
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
editing 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,
image, supports picking movies as well as still pictures.