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.
我正在尝试为 iOS 构建一个虚拟钢琴键盘。我遇到的最大问题之一是如何处理在 UIView 之外开始的触摸然后进入它。由于在另一个视图上调用了 touchesBegan,所以当触摸在其中移动时,我无法弄清楚如何让目标视图识别触摸。
是否有捷径可寻?