-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
UITouch *touch = [touches anyObject];
gestureStartPoint = [touch locationInView:self.view];
NSLog(@"test x:%f",gestureStartPoint.x);
NSLog(@"test y:%f",gestureStartPoint.y);
etc..
Srangely, I’m not receiving any log statements if I click outside a 320×480 frame (starting from upper-left corner). Elsewhere in touchesBegan I call other methods passing in the touch and these weren’t responding, so put these NSLogs in.
What do I have to do to receive touch events from the full 1024×768 view?
I think there’s a bug in the “Upgrade Current Target for iPad” task.
I fixed this issue by creating a new “Window XIB” with iPad as the product, then replacing the Window object in MainWindow-iPad.xib with the Window object in the new XIB. (Be sure to update the “window” outlet of your app delegate.)