- (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event
{
startTime = [NSDate timeIntervalSinceReferenceDate];
pt = [[touches anyObject] locationInView:self.view];
NSLog(@"%d,%d x y",pt.x,pt.y);
}
{
startTime = [NSDate timeIntervalSinceReferenceDate];
pt = [[touches anyObject] locationInView:self.view];
NSLog(@"%d,%d x y",pt.x,pt.y);
}
No comments:
Post a Comment