Similar to the visionOS Spatial Gallery app, I'm developing a visionOS app that will show spatial photos and videos. Is it possible to re-create the horizontal (or a vertical) scrolling functionality that shows spatial photos and spatial video previews? Does the Spatial Gallery app use private APIs to create this functionality? I've been looking at the Quick Look documentation and have been able to use the PreviewApplication to show a single preview, but do not see anything for a collection of files as the Spatial Gallery app presents in the scrolling view. Any insights or direction on how this may be done is greatly appreciated.
Hello! In visionOS 26, we have new APIs that make it possible to build a similar gallery interface yourself in RealityKit.
For spatial photos, and also the new spatial scenes introduced in visionOS 26, check out the new ImagePresentationComponent and Spatial3DImage APIs. The Presenting images in RealityKit sample code project is a great place to get started, and the "What's new in RealityKit" video from WWDC25 has a section showing how to use ImagePresentationComponent for spatial photos.
For spatial videos, we've added support for spatial styling in VideoPlayerComponent in visionOS 26. Check out the Playing immersive media with RealityKit to get started. We also have a section on spatial video rendering in RealityKit in the "Support immersive video playback in visionOS apps" video from WWDC25.