WeatherKit Fetch current conditions, hourly and daily forecasts, weather alerts, and historical statistics using . Display required Apple Weather attribution. Targets Swift 6.3 / iOS 26+. Contents - Setup - Fetching Current Weather - Forecasts - Weather Alerts - Selective Queries - Attribution - Availability - Common Mistakes - Review Checklist - References Setup Project Configuration 1. Enable the WeatherKit capability in Xcode (adds the entitlement) 2. Enable WeatherKit for your App ID in the Apple Developer portal 3. Add to Info.plist if using device location 4. WeatherKit requires an acti…