0

How can i zoom a UIView without using UIScrollBar? I can add pinch gesture recognizer but how can i move the zoomed image to selected area?

4

2 回答 2

0

What prevents you from using UIScrollView? It is probably the most easy way to handle zooming and scrolling.

If UIScrollView is not allowed. You can probably add pinch and pan gesture recognizer and implement their delegates for zooming and scrolling.

于 2012-06-07T07:22:55.667 回答
0

请检查这个..

带有手势识别器的图像处理

这是示例项目

于 2012-06-07T07:45:39.537 回答