Hey there,
since SceneView has been marked as „deprecated“ for SwiftUI, I‘m wondering which alternatives should be considered for the following situation:
I have a SwiftUI app (for iOS and iPadOS) where users can view (with rotate, scale, move gestures) 3D models (USDZ) in a scene. The models will be downloaded from web backend and called via local URL paths.
What I tested:
-
I‘ve tried ARView in .nonAR mode, RealityView, however I didn‘t get the expected response -> User can rotate, scale the 3D models in a virtual space.
-
ARView in nonAR mode still shows the object like in normal AR mode without camera stream.
-
I tried to add Gestures to the RealityView on iOS - loading USDZ 3D models worked but the gestures didn’t).
-
Model3D is only available for visionOS (that would be amazing to have it for iOS)
-
I also checked QuickLook Preview however it works pretty strange via Filepicker etc, which is not the way how the user should load the 3D models in my app.
Maybe I missed something, I couldn’t find anything which can help me. I‘m pretty much stucked adopting the latest and greatest frameworks/APIs in my App and taking the next steps porting my app to visionOS.
Long story short 😃: Does someone have an idea what is the alternative to SceneView for USDZ 3D models?
I appreciate your support!! Thanks in advance!