Instance Method

goForward(_:)

Navigates to the forward item in the back-forward list.

Declaration

@IBAction func goForward(_ sender: Any?)

Parameters

sender

The object sending this message.

Return Value

None; the dummy return type is equivalent to void. The method indicates to Interface Builder that the sender is an action.

See Also

Navigating

var allowsBackForwardNavigationGestures: Bool

A Boolean value indicating whether horizontal swipe gestures will trigger back-forward list navigations.

var backForwardList: WKBackForwardList

The web view's back-forward list.

var canGoBack: Bool

A Boolean value indicating whether there is a back item in the back-forward list that can be navigated to.

var canGoForward: Bool

A Boolean value indicating whether there is a forward item in the back-forward list that can be navigated to.

var allowsLinkPreview: Bool

A Boolean value that determines whether pressing on a link displays a preview of the destination for the link.

func goBack()

Navigates to the back item in the back-forward list.

func goBack(Any?)

Navigates to the back item in the back-forward list.

func goForward()

Navigates to the forward item in the back-forward list.

func go(to: WKBackForwardListItem)

Navigates to an item from the back-forward list and sets it as the current item.

func load(URLRequest)

Navigates to a requested URL.