Contents

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.

See Also

Adding and Removing Custom Scripts