Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

How to attach SwiftUI Views to entities on non-visionOS platforms?

What is the recommended way to attach SwiftUI views to RealityKit entities on macOS, iOS, etc?

All the APIs seem to be visionOS only:

My only idea is to do it "manually" with a ZStack and RealityView somehow?

I submitted this as a feedback since it seemed like an oversight: FB18034856.

How to attach SwiftUI Views to entities on non-visionOS platforms?
 
 
Q