title: get touch coordinates (in the form of 0-480 and 0-320)
body: <p>i dont get how to translate the coordinates of the iphone.</p>
  
  <p>if i make a single touch i get the coordinate.</p>
  
  <p>if i make a touch and keep it and release it it shows the difference of the starting and end point.</p>
  
  <p>how do i get the absolute position of the touch?</p>
  
  <p>thanks!</p>
  
  <pre><code>-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
      UITouch *touch = [[event allTouches] anyObject];
      CGPoint location = [touch locationInView:touch.view];
      NSLog(@"X: %f",location.x);
      NSLog(@"Y: %f",location.y);
  }
  </code></pre>
  
  <p>I want to resize an image with touch and drag(only the height)</p>