-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch *touch = [[event allTouches] anyObject]; CGPoint touchPoint = [touch locationInView:self.view]; ...... }
转载于:https://www.cnblogs.com/tqspring/archive/2012/08/29/2662198.html
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch *touch = [[event allTouches] anyObject]; CGPoint touchPoint = [touch locationInView:self.view]; ...... }
转载于:https://www.cnblogs.com/tqspring/archive/2012/08/29/2662198.html