Instance Method

loadHTMLString(_:baseURL:)

Sets the webpage contents and base URL.

Declaration

func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?

Parameters

string

The string to use as the contents of the webpage.

baseURL

A URL used to resolve relative URLs within the document.

Return Value

A new navigation.