Instance Property

allowsBackForwardNavigationGestures

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

Declaration

var allowsBackForwardNavigationGestures: Bool { get set }

Discussion

The default value is false.

See Also

Navigating

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 goForward(Any?)

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.