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.
我的应用程序需要能够检测用户是否将 3 根手指放在屏幕上的任何位置,以便在 3 根手指没有从原始位置移动时调用方法。这是我第一次在应用程序中使用多点触控,所以有人可以告诉我解决这个问题的最佳方法吗?
我建议使用 UILongPressGestureRecognizer 配置为需要三个触摸(和最小的移动)。