I tried to show spatial photo on my application by swiftUI's Image but it just show flat version of it even I Use Vision Pro, so, how can I show spatial photo to users, does there any options for this?
how to show spatial photo on my Application
Any solution here?
In visionOS 2, you can use the Quick Look Preview Application API to present local spatial photos and videos on Apple Vision Pro with the same spatial presentation styling as the visionOS Photos app.
Check out the Build compelling spatial photo and video experiences session and What’s new in Quick Look for visionOS session for more information on how to use Quick Look Preview Application to display spatial photos and videos from your app on visionOS.
I wrote some sourceCode for this https://github.com/tkgka/TestImmersive maybe it will be helpful for you guys
original source here https://forums.developer.apple.com/forums/thread/733813