I have an AR app and soon will be making a VisionKit version. Can we use swift library to create a world space 3D UI with features like Zstack, Buttons, etc?
Currently, I am using UI kit to do that.
Generally speaking, yes you can use SwiftUI with RealityKit on visionOS. You'll probably want to watch the 'Build spatial experiences with RealityKit', 'Meet SwiftUI for spatial computing', and 'Meet UIKit for spatial computing' sessions releasing tomorrow June 6 for more information. Also join us on the slack workspace and in developer labs.