Add an AR Object To Your SwiftUI Preview Canvas With RealityKit
Daily Coding Tip 022
Here’s how to make the SwiftUI preview canvas an image anchor, meaning that RealityKit will automatically detect it using the camera. When the Canvas is detected, a 3D model of a steel box will appear. This is the default object when creating a blank Augmented Reality project, so I thought I’d stick with it for the sake of…