Skip to content

Commit

Permalink
fix(ios): photogallery cancel event
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga authored and ewanharris committed Oct 8, 2021
1 parent e855063 commit a54f632
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iphone/Classes/MediaModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -1794,6 +1794,11 @@ - (void)showPHPicker:(NSDictionary *)args

#pragma mark PHPickerViewControllerDelegate

- (void)presentationControllerDidDismiss:(PHPickerViewController *)picker
{
[self sendPickerCancel];
}

- (void)picker:(PHPickerViewController *)picker didFinishPicking:(NSArray<PHPickerResult *> *)results
{
// If user cancels, results count will be 0
Expand Down

0 comments on commit a54f632

Please sign in to comment.