I had a similar problem with daily historical weather: fetched weather for date1, changed to date2, fetched again, but received the weather for date1 again and again. Then I found this post.
Per the Frameworks Engineer's comment, I updated to iOS 16 beta 4. Now it's working ... successive weather fetches for different dates return proper results.
Post
Replies
Boosts
Views
Activity
Historical weather has been problematic, particularly with daily historical requests for earlier this year, say January 1, 2022. Daily historical weather for days between September and December 2021 have been somewhat reliable. Also, using Time Machine with Carrot Weather and Apple as the weather source led to flakey results. For example, sometimes the hourly results display but not the daily. Just now I checked Carrot Weather again going to the year 2000. Both hourly and daily were retrieved!
Confirming the same with me.
Correction to "This does not happen in release." It doesn't happen on the target deployment, currently set to iPhone-only. However, running in TestFlight, the iPhone-only app running on an iPad will have the sheet disappear when toggling.
@eskimo writes: Other than the log message, is this causing ... any problems?
YES!
For a sheet with an @ObservedObject object with date and isToggle members having the UI with a DatePicker and Toggle, changing the date to today's date--whatever today happens to be when running--then toggling cause the sheet to go away--poof--back to the previous view WHEN IN DEBUG MODE. This does not happen in release.
January 18, 2022