Class

WKBackForwardListItem

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

Declaration

class WKBackForwardListItem : NSObject

Overview

A WKBackForwardListItem object contains information about a webpage contained in the back-forward list. The list is contained in a WKBackForwardList object that holds information for all of the associated webpages. Each WKBackForwardListItem object is made up of a URL and title for a webpage, and the URL of the webpage that requested the new webpage.

Topics

Inspecting Item Information

var url: URL

The URL of the webpage represented by this item.

var initialURL: URL

The URL of the initial request that created this item.

var title: String?

The title of the webpage represented by this item.

Relationships

Inherits From

Conforms To

See Also

Back-Forward List

class WKBackForwardList

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software