Skip to content

Can we trigger event during close image picker modal  #177

@LSmint

Description

@LSmint

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions