SharePlay + visionOS - missing groupImmersionStyle

Hi!

I'm working on trying to integrate SharePlay with Personas into a visionOS app. I'm still at the beginning stages and I'm following some of the 1st party documentation + videos from WWDC.

https://developer.apple.com/videos/play/wwdc2023/10087

https://developer.apple.com/documentation/groupactivities/adding-spatial-persona-support-to-an-activity#Update-the-immersion-level-automatically-for-a-Full-Space

I'm using:

  • Xcode 15.3 (15E204a)
  • visionOS 1.1 (21O209)

In both the examples linked above, they reference

systemCoordinator.groupImmersionStyle

However this doesn't seem to exist.

Also, it's not clear how to open/transition to the various spaces if groupImmersionStyle did exist and I could detect full, mixed, progressive spaces.

Am I missing something?
Was this removed or did I configure something incorrectly? Is there a full sample for SharePlay + visionOS somewhere that I might have missed?

Thanks for any help!

Answered by davecancode in 789550022

I believe this was resolved in the latest updates to Xcode, visionOS, and the simulator. I can now access this variable in code.

Accepted Answer

I believe this was resolved in the latest updates to Xcode, visionOS, and the simulator. I can now access this variable in code.

SharePlay + visionOS - missing groupImmersionStyle
 
 
Q