UIScrollview touchesbegan,touchesmoved,touchesended actions
问题 I did this touch actions in UIView, ie, in a uiview there are two or three subviews v1,v2,v3. I used the code below to place the image i1,i2,i3 in corresponding views and if I moves the touch the images move to that point in the view. - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touches anyObject]; if ([touch view] == v1) { CGPoint location = [touch locationInView:v1]; i1.center = location; } else if([touch view] == v2) { CGPoint location = [touch