ARView for macOS?

Apple's documentation for ARView says it is available for macOS 10.15+

However, when I try to add an ARView in Storyboard, Xcode shows no ARView available.

Is this a bug is Apple's documentation?

(PS. What I am trying do do is create a 3D scene, where I programmatically move the camera on the Mac instead of moving the Mac around 😁, using much of the same code I've created for an AR app on iOS)
Answered by rocketar in 645953022
You can create this in code instead of storyboard for sure, the only issue is macOS and iOS have different initialisers for ARView.
When doing this previously, I just used an #if os(macOS) or similar to determine which one I'm using, and I get the exact same scene displayed on iOS and macOS.
Accepted Answer
You can create this in code instead of storyboard for sure, the only issue is macOS and iOS have different initialisers for ARView.
When doing this previously, I just used an #if os(macOS) or similar to determine which one I'm using, and I get the exact same scene displayed on iOS and macOS.
ARView for macOS?
 
 
Q