webkit disable scrolling in swift

VonTobias Stephan

webkit disable scrolling in swift

If you do not want the webview to be scrollable, you can easily disable it with the following lines of code.

webKitView1.
scrollView
.
isScrollEnabled = 
false

      
webKitView1.scrollView
.panGestureRecognizer.
isEnabled=
false

webKitView1
.
scrollView
.bounces = false

Über den Autor

Tobias Stephan administrator

Schreibe eine Antwort