item(for:)
Returns the web history item that corresponds to the specified web location.
Declaration
func item(for URL: URL!) -> WebHistoryItem!Parameters
- URL:
The location, as a URL, of the webpage that was visited.
Return Value
The web history item that represents visits to the specified URL, or nil if none was found.