标签: iphone objective-c uitextview uigesturerecognizer nslog
如何使用NSLog获取consol,这是UITextView上的gestureRecogniser列表?
类似的东西?
NSLog([UIGestureRecognizer description]);
答案 0 :(得分:5)
不,这样的事情:
for (UIGestureRecognizer *g in textView.gestureRecognizers) { NSLog(@"g %@", g); }