When a user performs standard pinch action on my application, I want to zoom in / out a UIImage object. I am currently using UIImageView to display my image, if this description helps in any way.
How do I want to explain this, but such a fortune is not yet.
Any clues?
An easy way to do this is your UIImageView
a uiscroll view Within
. , You have to set the content set of the scroll view to be the same as your UIImageView's
size. Set the controller example to be a scroll view and viewForZoomingInScrollView:
and scrollViewDidEndZooming: withView: atScale:
apply methods to allow for pinch-zooming and image panning. Please. It is effectively that Ben resolves, only slightly more lightly, because you do not have an overhead of full web view.
An issue you can follow is that the scroll view comes in the form of a conversion applied to the image. This can cause blurring on high zoom factors. For some things that can be reproduced, after pinch gesture is over you can follow my suggestions to provide a crypto display. Hanley's solution can be used at that time so that your image can be saved.
Comments
Post a Comment