addUserScript(_:)
Injects the specified script into the webpage’s content.
Declaration
func addUserScript(_ userScript: WKUserScript)Parameters
- userScript:
The user script to add to the web view’s current page.
Injects the specified script into the webpage’s content.
func addUserScript(_ userScript: WKUserScript)The user script to add to the web view’s current page.