Get hit test event type
I开发者_运维百科s there a way to know if the hitTest:withEvent:
method is being thrown because of a touchesBegan, touchesMoved or touchesEnded event?
by now I only do:
if([event type]==UIEventTypeTouches)
{
}
but this is not exclusive enough
Nevermind, found it here: What works to pass touches through to (and display all) subviews?
精彩评论