Search code examples
iphoneobjective-cuitextviewuigesturerecognizernslog

NSLog UIGestureRecognizer description?


how to get in the consol using NSLog, the list of gestureRecogniser on UITextView?

something like that?

NSLog([UIGestureRecognizer description]);

Solution

  • No, something like this:

    for (UIGestureRecognizer *g in textView.gestureRecognizers) {
        NSLog(@"g %@", g);
    }