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.
如何阻止某些手势发送到 UIScrollView?例如,当滚动视图收到一个手势时,已将该手势发送到我的代码。如果我的代码发现它相关,让代码响应它。否则,我希望代码允许滚动视图正常响应它。
我希望这是有道理的 :)
您正在寻找手势识别器。苹果有一个很好的实施指南。