How to add a gesture recognizer to a UIWebView subclass?

后端 未结 4 2070
隐瞒了意图╮
隐瞒了意图╮ 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:14

    as far as I know UIWebView shouldnt be subclassed as mentioned in Apple docs:

    http://developer.apple.com/iphone/library/documentation/uikit/reference/UIWebView_Class/Reference/Reference.html

提交回复
热议问题