Understanding WeatherKit
WeatherKit was introduced by Apple during WWDC 2022. It provides hyperlocal weather forecasts worldwide, powered by the all-new Apple Weather Service, and it does this while preserving user privacy.
With WeatherKit, you’ll have access to a lot of data such as current weather, minute forecast, hourly forecast, daily forecast, weather alerts, and historical weather. This data is available through both a native iOS framework and a set of REST APIs.
You can see Apple’s Meet WeatherKit presentation during WWDC 2022 here:https://developer.apple.com/videos/play/wwdc2022/10003/
You can see Apple’s WeatherKit documentation here:https://developer.apple.com/weatherkit/
Before you use WeatherKit in your app, you’ll need to create a custom App ID for your app, and add the WeatherKit capability to it. Let’s see how to do this in the next section.