开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜