You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to perform some script after user tapped the modal close button, can we add Promise reject function to return a catch result during trigger the cancel event?
In imagepicker.ios.js file:
ImagePickerControllerDelegate.prototype.qb_imagePickerControllerDidCancel = function (imagePickerController) {
this._reject("cancelled"); <--- add something like this
imagePickerController.dismissViewControllerAnimatedCompletion(true, null);
};
The text was updated successfully, but these errors were encountered:
LSmint
changed the title
Can we trigger during image picker modal close event
Can we trigger event during close image picker modal
Apr 14, 2018
On iOS, when the picker is dismissed by native gesture (pushing it down) the close event is not fired like the close button. Would be nice if it fires this event (Error: Canceled) too.
I would like to perform some script after user tapped the modal close button, can we add Promise reject function to return a catch result during trigger the cancel event?
In imagepicker.ios.js file:
The text was updated successfully, but these errors were encountered: