Is there an equivalent language parameter when using the WeatherKit SDK in swiftui? I'm using the call below in my app:
'''
weather = try await weatherService.weather(for: location, including: .daily(startDate: yesterDay , endDate: Date()))
'''
This works for English/US users, but some users in other countries (e.g. Germany) are not getting the correct temperature results from this. Is there something I need to add to make this work in each user's location?
Post
Replies
Boosts
Views
Activity
I am getting another "error" when running on a device (as opposed to the Canvas). I still get the same data as above (temps for startDate and endDate but not the days in between) along with this:
Aborting silent interpolation: additional missing products that need to be fetched from the server anyway; location=CLLocationCoordinate2D(latitude: 37.77, longitude: -122.41), missing products=[WeatherDaemon.WeatherProduct.forecastDaily]