apache/incubator-cordova-ios — pull request #20 by becka11y (2012-05-22 13:30:52+00:00)
Title: Fixes CB-819 fail callback not invoked - code review

Problem was that on iPad when popover controller is used,
the fail callback was not getting called when the popover was
dismissed w/o picking an image. Added a delay to the callback to JavaScript
since the app will hang if the callback contains a JavaScript alert.
Also removed clause to close popover from imagePickerDidCancel
because that method is not called when the popover is used.
Also deprecated closePicker since it is not
used within the Cordova code. Deprecated in the off chance a plugin
is using - will remove in 2.0.