WeatherKit · IOS API REFERENCE
MonthlyWeatherStatisticsQuery
struct · iOS 18.0+ · SDK 27.1
struct MonthlyWeatherStatisticsQuery<T> where T : Decodable, T : Encodable, T : Equatable, T : SendableA structure that encapsulates a generic monthly weather statistics dataset request. Use the properties of this structure to create a monthly weather statistics query. You can combine multiple queries into a single `WeatherService` request. Here's how to get monthly weather statistics for New York City: ``` let (monthlyPrecipitationStatistics, monthlyTemperatureStatistics) = try await service.monthlyStatistics(for: newYork, spanning: interval, including: .precipitation, .temperature) ```
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.