Instance Property

isLoading

A Boolean value indicating whether the view is currently loading content.

Declaration

var isLoading: Bool { get }

Discussion

Set to true if the receiver is still loading content; otherwise, false. The WKWebView class is key-value observing (KVO) compliant for this property.

See Also

Loading Content

var estimatedProgress: Double

An estimate of what fraction of the current navigation has been loaded.

var hasOnlySecureContent: Bool

A Boolean value indicating whether all resources on the page have been loaded through securely encrypted connections.

func loadHTMLString(String, baseURL: URL?)

Sets the webpage contents and base URL.

func reload()

Reloads the current page.

func reload(Any?)

Reloads the current page.

func reloadFromOrigin()

Reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible.

func reloadFromOrigin(Any?)

Reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible.

func stopLoading()

Stops loading all resources on the current page.

func stopLoading(Any?)

Stops loading all resources on the current page.

func loadFileURL(URL, allowingReadAccessTo: URL)

Navigates to the requested file URL on the filesystem