Hi all,
I am trying to create an image viewer similar to the standard iOS photo app, using nested UIScrollViews for zooming. Everything works fine, however I want my images to go back to their original size when I scroll away from them, but cannot seem to make it work with zoomToScale: animated: (for some reason it only works when I come back to the image not when I leave it).
I explained my problem in more detail in this stackOverflow thread and would really appreciate if someone with more experience than I could help me.
Thanks,
- R.
http://stackoverflow.com/questions/32135309/ios-image-viewer-set-zoomed-image-back-when-scrolling
I am trying to create an image viewer similar to the standard iOS photo app, using nested UIScrollViews for zooming. Everything works fine, however I want my images to go back to their original size when I scroll away from them, but cannot seem to make it work with zoomToScale: animated: (for some reason it only works when I come back to the image not when I leave it).
I explained my problem in more detail in this stackOverflow thread and would really appreciate if someone with more experience than I could help me.
Thanks,
- R.
http://stackoverflow.com/questions/32135309/ios-image-viewer-set-zoomed-image-back-when-scrolling