【发布时间】:2010-08-05 08:01:41
【问题描述】:
我有一个带有多个子视图的 UIView 子类,我想在类中处理这些事件:
- touchesBegan:withEvent:
- touchesMoved:withEvent:
- touchesEnded:withEvent:
但我也希望在子视图中调用这些事件。我怎样才能做到这一点?
(我已经尝试过使用hitTest,但我只得到了touchesBegan事件并且没有使用该方法发送任何触摸)
【问题讨论】:
标签: objective-c hittest touches touchesbegan touchesmoved