I know this looks like a simple question one can simply say:
webview.scrollView.scrollEnabled = NO; webview.scrollView.panGestureRecognizer.enabled = NO; web
Swift 5
disableScrollView(self.webView) func disableScrollView(_ view: UIView) { (view as? UIScrollView)?.isScrollEnabled = false view.subviews.forEach { disableScrollView($0) } }