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

Unable to "reload" new image into the cropper - ScrollView get zoomed #2

Open
roimulia opened this issue Feb 16, 2016 · 2 comments
Open

Comments

@roimulia
Copy link

First of all, Thank you for this great git!
Hey. i'm having this weird issue. When i'm first initializing the cropper View like this

  self.cropView = AKImageCropperView(frame: self.preview.bounds, image: img!, showOverlayView: true)
                    self.preview.addSubview(self.cropView)

                    self.cropView.refresh()

It's works perfectly. Tho when i'm trying to change the image inside the cropper, like this ;

self.cropView.image = img
                    self.cropView.refresh()

It's changing the image, but the scrollView zoom is almost on max.
I might be missing something, but how can i just replace the image and refresh the image?
re-creating the cropper each time is slow, tried it already. Thanks!

@aduenasEurostar
Copy link

Hi, did you solved it? thx

@artemkrachulov
Copy link
Owner

Yes ))

mjrehder pushed a commit to Rehsco/AKImageCropperView that referenced this issue Jul 22, 2017
M_PI removed, swift 3.0 error fixed
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

3 participants