I know this looks like a simple question one can simply say:
webview.scrollView.scrollEnabled = NO; webview.scrollView.panGestureRecognizer.enabled = NO; web
Before Swift 3
You can simply disable scroll on its implicit scrollView
webView.scrollView.scrollEnabled = false
Swift 3
webView.scrollView.isScrollEnabled = false