Skip to content

Instantly share code, notes, and snippets.

@wanggang316
Created July 22, 2016 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wanggang316/7ddf78ab0a1215bfc3a130a4047d6cff to your computer and use it in GitHub Desktop.
Save wanggang316/7ddf78ab0a1215bfc3a130a4047d6cff to your computer and use it in GitHub Desktop.
- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [[event allTouches] anyObject];
CGPoint location = [touch locationInView:touch.view];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment