requestHistoricalLocations(purposeKey:sampleCount:completionHandler:)
Declaration
func requestHistoricalLocations(purposeKey: String, sampleCount: Int, completionHandler handler: @escaping @Sendable ([CLLocation], (any Error)?) -> Void)
func historicalLocations(purposeKey: String, sampleCount: Int) async throws -> [CLLocation]
Discussion