Relative Content

Tag Archive for swiftuirealitykitvisionos

MagnifyGesture not working in RealityView in SwiftUI

I am trying to implement a magnification gesture in a SwiftUI RealityView. My goal is to allow users to zoom into a RealityKit scene by pinching. However, the MagnifyGesture does not seem to have any effect. Below is my current implementation: