Post

Replies

Boosts

Views

Activity

Reply to SwiftUI -> Scenekit: tap gesture recognizer
For whatever reason, the SwiftUI SceneView does not conform to the SCNSceneRenderer protocol. If it did, then it would not be necessary to make use of a UIViewRepresentable (or NSViewRepresentable for macOS) view. I have a complete example app, for macOS, here: https://github.com/Thunor/HitTestApp
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’21