FMPhotoPicker icon indicating copy to clipboard operation
FMPhotoPicker copied to clipboard

No way to know the editing was cancelled.

Open ashachakrapani opened this issue 2 years ago • 0 comments

Is there a way to know the editing was cancelled? There is only a FMImageEditorViewControllerDelegate method to notify editing finish event, but not editing cancel event with the delegate methods.

There is an existing issue with UIImagePickerController when the a view is present and dismissed from over it. Below are the steps to reproduce it.

  1. Present UIImagePickerContoller's camera screen,
  2. capture image, use FMImageEditorView to edit the object, hit cancel and click yes on the alert modal
  3. User lands back on the UIImagePickerContoller's camera screen.
  4. The Retake/Use Photo options are not clickable

To work around this issue, I would like to dismiss the camera screen and present a fresh instance when editing is cancelled, but there is no way to know this from the library.

ashachakrapani avatar Jun 27 '23 15:06 ashachakrapani