How to add a gesture recognizer to a UIWebView subclass?

后端 未结 4 2069
隐瞒了意图╮
隐瞒了意图╮ 2020-12-09 00:35

If I add a gesture recognizer to a subclassed UIWebView instance called webView, e.g.:

UILongPressGestureRecognizer *_longPressReco         


        
4条回答
  •  温柔的废话
    2020-12-09 01:08

    - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
    return YES;
    }
    

提交回复
热议问题