Skip to content
Advertisement

Tag: uiviewrepresentable

WKWebView iOS linking Javascript File

I’m having trouble getting a javascript file to run from inside a UIViewRepresentable WKWebView. This is probably a simple question with a simple answer, but I cannot seem to figure this out. I’m new to Swift and iOS programming. I’d like to link to a javascript file from inside a String of HTML that is passed to a UIViewRepresentable of

Advertisement