Instance Property

url

The active URL.

Declaration

var url: URL? { get }

Discussion

The URL to be reflected in the user interface. The WKWebView class is key-value observing (KVO) compliant for this property.

See Also

Inspecting the View Information

var scrollView: UIScrollView

The scroll view associated with the web view.

var title: String?

The page title.

var customUserAgent: String?

The custom user agent string.

var serverTrust: SecTrust?

A SecTrustRef object for the currently committed navigation.

var certificateChain: [Any]

An array of objects forming the certificate chain for the currently committed navigation.

Deprecated