获取触摸点的坐标位置
//触摸事件
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
NSSet *allTouches = [event allTouches];
UITouch *touch = [allTouches anyObject];
CGPoint point=[touch locationInView:[touch view]];
int x=point.x;
int y=point.y;
NSLog(@"touch (x,y) is (%i,%i)",x,y);
}