How to programmatically open the camera the spatial mode in iOS for capturing the spatial videos. Any API for opening camera in spatial mode?
In visionOS 2, you can use new APIs on AVCaptureDevice
and AVCaptureMovieFileOutput
to capture spatial videos from your iOS app on iPhone 15 Pro.
The Build compelling spatial photo and video experiences session that @andromeda mentioned includes a code snippet (under the "Code" tab on the session's web page) that shows how to configure spatial video capture on iPhone 15 Pro.