Sets the main page content and base URL.
On This Page
func loadHTMLString(_ string: String, baseURL: URL?)
The content for the main page.
The base URL for the content.
To help you avoid being vulnerable to security attacks, be sure to use this method to load local HTML files; don’t use loadRequest(_:).
func load(Data, mimeType: String, textEncodingName: String, baseURL: URL)
Sets the main page contents, MIME type, content encoding, and base URL.
Connects to a given URL by initiating an asynchronous client request.
var request: URLRequest?
The URL request identifying the location of the content to load.
var isLoading: Bool
A Boolean value indicating whether the receiver is done loading content.
Stops the loading of any web content managed by the receiver.
Reloads the current page.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.