Instance Method

goToBackForwardListItem:

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

Declaration

- (WKNavigation *)goToBackForwardListItem:(WKBackForwardListItem *)item;

Parameters

item

The item to navigate to. The item must be one of the items in the web view’s back-forward list.

Return Value

A new navigation to the requested item, or nil if it is already the current item or is not part of the web view's back-forward list.

See Also

Navigating

allowsBackForwardNavigationGestures

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

backForwardList

The web view's back-forward list.

canGoBack

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

canGoForward

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

allowsLinkPreview

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

- goBack

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

- goBack:

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

- goForward

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

- goForward:

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

- loadRequest:

Navigates to a requested URL.