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.
我的问题是如何禁用 imageView 的缩放,女巫在可缩放的滚动视图中?我想放大一个滚动视图,并为其中的一些图像视图保持相同的大小。 帮助 !
您可以尝试这种方法:-
- (UIView *) viewForZoomingInScrollView:(UIScrollView *) scrollView { return canZoom?view:nil; }
愿这对你有帮助!