title: How to disable scrolling entirely in a WKWebView?
body: <p>I know this looks like a simple question one can simply say:</p>
  
  <pre><code>webview.scrollView.scrollEnabled = NO;
  webview.scrollView.panGestureRecognizer.enabled = NO;
  webview.scrollView.bounces = NO;
  </code></pre>
  
  <p>or even </p>
  
  <pre><code>for (UIView* subview in webview.subviews) {
    if ([subview respondsToSelector:@selector(setScrollEnabled:)]) {
        [(id)subview setScrollEnabled:enabled];
    }
  
    if ([subview respondsToSelector:@selector(panGestureRecognizer)]) {
        [[(id)subview panGestureRecognizer] setEnabled:enabled];
    }
  }
  </code></pre>
  
  <p>but while it does prevent scolling (in the <code>contentOffset</code> meaning) inside the <code>WKWebview</code>it <strong>doesn't</strong> prevent it from receiving pan gesture events involving scrolling.</p>
  
  <p>So articles like those of the Huffington Post, which have javascript included to automatically change articles when the user scrolls left or right still get that behavior.</p>
  
  <p>How can I prevent this ?</p>