Quote:
Originally Posted by rocotilos
"My touchesBegan simply passes the control to touchesMoved"
What? I don't understand this.
You should post your code for anyone to start replying.
Also, a user does not click on anything, they tap. :P
|
Sorry for the delay just came back from office. Here is the code
-(void) touchesBegan

NSSet *)touches withEvent

UIEvent *)event
{
[self touchesMoved:touches withEvent:event];
}
-(void) touchesMoved

NSSet *)touches withEvent

UIEvent *)event
{
UITouch *touch = [[event allTouches] anyObject];
CGPoint location = [touch locationInView:touch.view];
}
so the location should give me where the user clicked (oops tapped)
I am not sure how to proceed after this. Please advise.