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);
};