-
-
Notifications
You must be signed in to change notification settings - Fork 928
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
The animated dismiss of cropViewController causes the previous viewcontroller to be disappeared #503
Comments
@TimOliver Did you manage to solve this bug? |
I had the same issue. Ended up using a library called RSKImageCropper. Solves the problem I guess ¯\(ツ)/¯ |
Having same bug. Any solution yet ? |
1 similar comment
Having same bug. Any solution yet ? |
Still having same bug, done or cancel buttons dismiss both CropViewController and presentingViewController. |
I found the solution to disable the custom transition from this lib, add transitioningDelegate property to CropViewController
|
thanks, as a work around, i make a subclass and override transitioningDelegate to nil on viewDidLoad() |
I did |
1)From the main VC present a child VC with modalPresentationStyle = .popover
2) Then from this child use the TOCropViewController
3) When we pic and image, if we press Cancel or Done, the child VC disappear and show the main VC
the animation here cause the bug with the done button : cropViewController.dismiss(animated: true, completion: nil)
so I turned it off, and no problem after that with done button , but there is no access to cancel button.
Hack: to solve the issue I set the modalPresentationStyle = .fullScreen instead of .popover, but that is not nice.
The text was updated successfully, but these errors were encountered: