-(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..
奇怪的是,如果我在 320x480 帧之外(从左上角开始)单击,我不会收到任何日志语句。在 touchesBegan 的其他地方,我调用了其他传递 touch 的方法,但这些方法没有响应,所以将这些 NSLog 放入。
我必须做什么才能从完整的 1024x768 视图接收触摸事件?