Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个滚动视图,其中显示了 imageArray 中的所有 imageViews,并且我已经启用了分页。现在我想放大和缩小滚动视图中的图像。有人可以告诉我最好的方法是什么?
您不能放大和缩小为分页构建的滚动视图,您只能在页面之间滑动......您需要在为缩放构建的第一个“分页”滚动视图中嵌套另一个 UIScrollView(即分页被禁用和多- 触摸和缩放已启用)
There's a WWDC 2010 video which have very nice tutorial for UIScrollView.This tutorial have very efficent techniques to do paging with zoom enable.Check this also