Tells the delegate that the user picked a still image or movie.
- iOS 3.0+
The controller object managing the image picker interface.
A dictionary containing the original image and the edited image, if an image was picked; or a filesystem URL for the movie, if a movie was picked. The dictionary also contains any relevant editing information. The keys for this dictionary are listed in Editing Information Keys.
Your delegate object’s implementation of this method should pass the specified media on to any custom code that needs it, and should then dismiss the picker view.
When editing is enabled, the image picker view presents the user with a preview of the currently selected image or movie 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 or movie, the editing information is available in the
info parameter. The original image is also returned in the
If you set the image picker’s
shows property to
NO and provide your own custom controls, you can take multiple pictures before dismissing the image picker interface. However, if you set that property to
YES, your delegate must dismiss the image picker interface after the user takes one picture or cancels the operation.
Implementation of this method is optional, but expected.