Class

WKBackForwardList

A WKBackForwardList object maintains a list of visited pages used to go back and forward to the most recent page.

Declaration

@interface WKBackForwardList : NSObject

Overview

A WKBackForwardList object maintains only the list data—it does not perform actual page loads (in other words, it does not make any client requests). If you need to perform a page load, see the loadRequest: method in WKWebView to find out how to do this.

Topics

Getting List Items

backItem

The item immediately preceding the current item, or nil if there isn't one.

currentItem

The current item.

forwardItem

The item immediately following the current item, or nil if there isn't one.

- itemAtIndex:

Returns the item at a specified distance from the current item.

Getting Sublists

backList

The portion of the list preceding the current item.

forwardList

The portion of the list following the current item.

Relationships

Inherits From

See Also

Back-Forward List

WKBackForwardListItem

A WKBackForwardListItem object represents a webpage in the back-forward list of a web view.