- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches anyObject];
CGPoint touchPoint = [touch locationInView:self.view];
NSLog(@"%f==%f",touchPoint.x,touchPoint.y);
int stringFloat = (int)(touchPoint.x);
int stringFloat1 = (int)(touchPoint.y);
NSLog(@"%i%i",stringFloat,stringFloat1);
//touchPoint.x ,touchPoint.y 就是触点的坐标。
}