Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Adding fix for cancelling when clicking background overlay on ios tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Mostachetti authored and Mike Mostachetti committed Dec 10, 2019
1 parent 8c5add2 commit fee4482
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Media.Plugin/iOS/ECLImagePickerViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ private static string AssetTitle(int maximumImages, string singularTitle, string
return pluralTitle;
}

public override void ViewWillDisappear(bool animated)
{
base.ViewWillDisappear(animated);
CancelledPicker();
}

public static ELCImagePickerViewController Create(StoreCameraMediaOptions options = null, MultiPickerOptions pickerOptions = null)
{
pickerOptions = pickerOptions ?? new MultiPickerOptions();
Expand Down

0 comments on commit fee4482

Please sign in to comment.