WeatherKit · IOS API REFERENCE
WeatherQuery
struct · iOS 16.0+ · SDK 27.1
struct WeatherQuery<T>A structure that encapsulates a generic weather dataset request. Use the properties of this structure to create a weather query. You can combine multiple weather queries into a single ``WeatherService`` request. Here's how to get the weather for New York City: ```swift let (hourly, daily, alerts) = try await service.weather(for: newYork, including: .hourly, .daily, .alerts) ```
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.