Skip to content

Instantly share code, notes, and snippets.

@jeksys
Created May 3, 2011 14:11
Show Gist options
  • Save jeksys/953396 to your computer and use it in GitHub Desktop.
Save jeksys/953396 to your computer and use it in GitHub Desktop.
GestureRecognizer
UILongPressGestureRecognizer *recognizer;
recognizer = [[[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)] autorelease];
[self.view addGestureRecognizer: recognizer];
- (void)handleLongPress:(UILongPressGestureRecognizer *)recognizer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment