Instance Property

hasOnlySecureContent

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

Declaration

var hasOnlySecureContent: Bool { get }

Discussion

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 isLoading: Bool

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

func reload() -> WKNavigation?

Reloads the current page.

func reload(Any?)

Reloads the current page.

func reloadFromOrigin() -> WKNavigation?

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) -> WKNavigation?

Navigates to the requested file URL on the filesystem

Beta Software

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.

Learn more about using Apple's beta software