未调用UIPinchGesture中的@selector

时间:2015-05-08 09:41:54

标签: ios uipinchgesturerecognizer

我已经检测到用于imageview的两个手指触摸,并且给定条件是如果触摸两个手指,则pinchGesture必须执行用于imageview的选择器。

"4_xyz"

但我没有调用我的twoFingerPinch方法。有人帮帮我!!提前谢谢。

2 个答案:

答案 0 :(得分:0)

As per your code it is hard to say on which view you want to apply pinch gesture,I am considering you are applying it on imageView, here is how you should do it:-

ConnectException.

答案 1 :(得分:0)

Don't sure what are you trying to do, but if you want to pinch just add that directly to the view. Its default behavior for pinch to use 2 fingers.