Post

Replies

Boosts

Views

Activity

Reply to WeatherKit forecast dates - what are they?
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.
Topic: App & System Services SubTopic: General Tags:
Sep ’22
Reply to WeatherKit forecast dates - what are they?
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.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to WeatherKit forecast dates - what are they?
To be clear, I'm setting startDate and endDate like this: let startDate = Date() let endDate = Calendar.current.date(byAdding: .weekOfYear, value: 1, to: startDate)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to WeatherKit forecast dates - what are they?
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.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to WeatherKit forecast dates - what are they?
Beuller?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to RoomPlan USDZ not readable by Blender
The feedback ID is FB10566496. Thanks, Cliff
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to WeatherKit iOS SDK 401 network error
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.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Entity dimensions in RealityKit
There is no issue with visualBounds. My entity had an unexpected child that was throwing off the dimension caculation.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Entity dimensions in RealityKit
Deleting this question due to a mistake I was making.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Get coordinates of pivot point in ModelEntity
That's great, arthurfromberlin. Thank you!
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Move entity to center of nonAR view
dup response due to forum web site weirdness -
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Move entity to center of nonAR view
Thank you. It doesn't center the object but with your help I'm closer to that goal. Thanks again!
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Move entity to center of nonAR view
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
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Can ARView switch between camera and non-camera mode?
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 :-)
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Can ARView switch between camera and non-camera mode?
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.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Can ARView switch between camera and non-camera mode?
This can be achieved by setting the background in the environment: // disable camera arView.environment.background = .color(.white) // enable camera arView.environment.background = .cameraFeed()
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Mar ’22