【问题标题】:Get hit test event type获取命中测试事件类型
【发布时间】:2010-08-05 07:16:21
【问题描述】:

有没有办法知道 hitTest:withEvent: 方法是否因为 touchesBegan、touchesMoved 或 touchesEnded 事件而被抛出?

现在我只做:

if([event type]==UIEventTypeTouches)
{

}

但这还不够排外

【问题讨论】:

    标签: objective-c hittest touchesbegan touchesmoved


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多