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 中的下一个(上一个)页面的手势,就像它在 Apple 的 iBook 应用程序中所做的那样?
谢谢,劳伦斯
我会尝试在 UIScrollView 上放置一个 UITapGestureRecognizer。如果视图中的点击位置是您想要的位置,请向左或向右转动页面。
UITapGestureRecognizer