-
Notifications
You must be signed in to change notification settings - Fork 378
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
Add possibility to change maximum zoom scale for the ScalingImageView. #48
Comments
This could easily be achieved by:
We would welcome a PR to this effect and any further discussion on the best way to expose this functionality on |
I made a PR: #51. I decided to go with the delegate approach, because it enables the user to set different maximum zoom scale for each photo if necessary. |
@heikkihautala thanks! I'll take a look asap. |
closed by #51 |
Hi. I don't get the |
That's because version 0.1.2 was released before this feature was added. I'll work on getting a new release on Monday. Until then you can point the most recent changes in this pod by using this line in your Podfile: pod 'NYTPhotoViewer', :head |
Is this working? I have implemented |
@andrew8712 yes, this was merged in #51 a while ago and is included in recent releases. Is it possible you're hitting bug #95 which is fixed in v1.1.0? |
No, I use the latest release (1.1.0). Should I do anything besides implementing this delegate method to achieve max zoom functionality? |
That should be all you need.
are you using the new designated initializer? It takes a delegate and if you're using a delegate you should use this initializer:
|
Thanks, this worked. Curious, it didn't work this way:
|
You're running into #95 . |
No description provided.
The text was updated successfully, but these errors were encountered: