0
有沒有辦法知道是否因touchesBegan,touchesMoved或touchesEnded事件而引發hitTest:withEvent:方法?獲取命中測試事件類型
現在我只能做:
if([event type]==UIEventTypeTouches)
{
}
,但這是遠遠不夠的
有沒有辦法知道是否因touchesBegan,touchesMoved或touchesEnded事件而引發hitTest:withEvent:方法?獲取命中測試事件類型
現在我只能做:
if([event type]==UIEventTypeTouches)
{
}
,但這是遠遠不夠的