Search code examples
swiftuiaugmented-realityscenekitarkitrealitykit

Is it possible to use SwiftUI for UI in an AR-App using SceneKit?


I am currently working on an AR-App using SceneKit. I can't use RealityKit because I need Image Recognition which it doesn't support at this time.
With this tutorial I found a way to integrate SwiftUI into the AR-Scene but not as a typical UI-/HUD-Element.

Is it there a way to use SceneKit for Image Recognition and SwiftUI as UI?


Solution

  • In a certain way you can. Here's a Medium story on this topic. Also this SO post might be useful.