fetchHistory(during:completionHandler:)
Fetches web history that occurred during the date interval you specify.
Declaration
func fetchHistory(during interval: DateInterval, completionHandler: @escaping @Sendable (Set<URL>?, (any Error)?) -> Void)func fetchHistory(during interval: DateInterval) async throws -> Set<URL>Parameters
- interval:
The date interval of web history you want to fetch.