[英]touchesBegan doesn't work with UIImageView animation
I'm having some issues over here. 我在这里遇到一些问题。 I've got a method called
我有一个方法叫做
- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
for a UIImageView
, it works fine while the image is static, the touchesBegan
method gets called... but when I make the UIImageView
animated, touchesBegan
stop working. 对于
UIImageView
,它在图像静态时可以正常工作,可以调用touchesBegan
方法...但是当我将UIImageView
动画时, touchesBegan
停止工作。 Any ideas of why this happens? 为什么会这样?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.