How to disable pop-up message when I was in ImmersiveSpace in VisionPro

I am developing an app which needs high-quality immersion on VisionOS. I found that when some messages pop up, the virtual object will get transparent so the immersion is broken. How could I disable such pop-up messages when the ImmersiveSpace is open

.

Hi @YaShiho

You can't disable system pop-ups when an immersive space is open (or at any other time in your app, for that matter). These alerts are handled by the system and are important for user safety and comfort.

How to disable pop-up message when I was in ImmersiveSpace in VisionPro
 
 
Q