Instance Method

go(to:)

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

Declaration

func go(to item: WKBackForwardListItem) -> WKNavigation?

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.