How to create a VisionPro project with a Volume

Oscar de la Hera Gomez
A flower that represents VisionOS with the text “Volume Starter Project” beneath it.

In XCode, create a new VisionOS project and set the initial scene to "Volume."

Apple provides an out of the box VisionOS project that provides a scene with a volume.

In the event that you are trying to transform an existing project into one that starts with a volume, the key elements are found in the info.plist and the way you code the initial scene.

Samples are found in the repository linked below on the 101/volume-starter branch.

A screenshot of the projects plist. Make sure to set the "Preferred Default Scene Session Role" to "Volumetric Window Application Session Role."

Sample info.plist demonstrating that the "Preferred Default Scene Session Role" should be set to "Volumetric Application Session Role."

A screenshot of XCode showing the code that produces a volume when starting a VisionOS app.

Sample App and ContentView. Code provided by Apple.

Looking to learn more about VisionOS, Spatial Computing, Design and Technology?

Search our blog to learn more about visionOS, spatial computing, design and technology.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details