有没有办法知道该hitTest:withEvent:
方法是否由于 touchesBegan、touchesMoved 或 touchesEnded 事件而被抛出?
现在我只做:
if([event type]==UIEventTypeTouches)
{
}
但这还不够独特
有没有办法知道该hitTest:withEvent:
方法是否由于 touchesBegan、touchesMoved 或 touchesEnded 事件而被抛出?
现在我只做:
if([event type]==UIEventTypeTouches)
{
}
但这还不够独特