skip to Main Content

Detect scroll in Webview with Swift – Ios swift

I am using SwiftUI, so I have a wrapper around the Webview, like this: import SwiftUI import WebKit struct WebView: UIViewRepresentable { var url: String let webView = WKWebView() func makeUIView(context: Context) -> WKWebView { webView.evaluateJavaScript("navigator.userAgent") { (result, error) in…

VIEW QUESTION
Back To Top
Search