开发者

Does a UIPanGestureRecognizer take precedence over the -touchesMoved: method?

开发者 https://www.devze.com 2023-01-12 05:34 出处:网络
I\'m not sure about this, but does a UIPanGestureRecognizer take precedence over a UIView\'s touch handling methods when it is added to 开发者_StackOverflowthat view?That is, will I still receive -tou

I'm not sure about this, but does a UIPanGestureRecognizer take precedence over a UIView's touch handling methods when it is added to 开发者_StackOverflowthat view? That is, will I still receive -touchesMoved: method calls from that view, or will I only get the callback from the gesture recognizer?


I believe it takes precedence over the touches handling callbacks. And it calls touhesCancelled before giving it to UIPanGestureRecognizer, if you have implemented it.

0

精彩评论

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