Post not yet marked as solved
I understand, thank you! This is different from other models I'm used to where future whether is an offset from current time. This is equally sensible, just didn't occur to me.
Post not yet marked as solved
Hi, thanks for your response. My question is not whether the date is at the start of the hour.
Shouldn’t the hourly be times increasing in one hour increments from startDate?
I'm seeing times that unconditionally start at 10PM. If I run a query at 7AM I expect the hourly forecast entries to be 8AM, 9AM, etc.
// at 7AM after conversion I expect date to indicate 8AM
let utc = hourly.forecast[0].date
It appears that I am doing something wrong in my conversion Could you please provide a code fragment that would yield dates as I describe? Thanks.
Post not yet marked as solved
The feedback ID is FB10566496.
Thanks,
Cliff
When configuring the app id on the developer site there are two tabs: "Capabilities" and "App Services". Ensure that WeatherKit is enabled in both of these.
There is no issue with visualBounds. My entity had an unexpected child that was throwing off the dimension caculation.
That's great, arthurfromberlin. Thank you!
Post not yet marked as solved
dup response due to forum web site weirdness -
Post not yet marked as solved
Thank you. It doesn't center the object but with your help I'm closer to that goal. Thanks again!
Post not yet marked as solved
Thanks for the explanation, gchiste.
Would it be possible to provide some example code to determine the target transform? While I understand your answer, I'm flailing a little trying to make it work.
Thanks again,
Spiff
The complete answer is that ARView has a cameraMode property which is equivalent to the argument in the initializer.
arView.cameraMode = .nonAr // for example
How I missed this is beyond me :-)
Although I marked this as the correct answer it is in fact incomplete. This changes the background but the camera is in fact still active, while you move the camera, the relative orientation of the device changes.
This can be achieved by setting the background in the environment:
// disable camera
arView.environment.background = .color(.white)
// enable camera
arView.environment.background = .cameraFeed()
Post not yet marked as solved
Hi,
I can't reproduce it myself, I'm just seeing the crashes in Firebase. Is there a workaround that I might employ? This will cause me to pull back a feature from production. Is there any documentation of the bug? Thanks!
Post not yet marked as solved
It's January 2, 2022 and this still occurs.