viewImageView=[[UIImageView alloc] initWithImage:viewImage];
viewImageView.center=self.center;
[[self superview] addSubview:viewImageView];
我已将 imageview 添加到superview.self子UIView类中。但是当我点击或从右到左滚动touchesbegin: withEvent:并被touchesEnded:withEvent:调用时。但是当我点击或从左到右移动时..touchesEnded:withEvent:没有被调用。它正在调用touchesCancelled:withEvent:请帮助我解决这个问题。