Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to know the editing was cancelled. #72

Open
ashachakrapani opened this issue Jun 27, 2023 · 0 comments
Open

No way to know the editing was cancelled. #72

ashachakrapani opened this issue Jun 27, 2023 · 0 comments

Comments

@ashachakrapani
Copy link

ashachakrapani commented Jun 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant