When I touch a UIScrollView, I zoom the view to a large scale. But the view is not centered to the place where I have touched. I want to know how to make the view center when I touch it, can someone give me some example code.
Or if the scrollview have had the function?
Before zooming, set the scrollview’s contentoffset so the point you touched to be in the center.