I can't press any other buttons in the same window while UIScrollView is zooming with a pinch gesture or scrolling. Is there any way to enable this behavior? It's exactly like the scroll view has exclusive touch (though I tried setting it explicitly to NO
). I have a scroll view inside a view, and I would like it to scroll only while the user holds a scroll button. Otherwise, panning with one finger enables freehand drawing.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
As noted in the comments, the answer was that I foolishly had a subview that had exclusiveTouch
enabled among the subviews of the scroll view.