Close Home button

In visionOS2, there exists a function that enables users to raise their hand to display the home button. However, this functionality conflicts with the interaction required for the mixed display space utilized within my application. Therefore, I seek a method to disable this functionality.

Answered by Vision Pro Engineer in 800554022

Hey  @lijiaxu,

You can set the preferred visibility of these system views by using persistentSystemOverlays(_:). This allows you to indicate a preference, but the system might or might not be able to honor that preference.

Let me know if you have additional questions,
Michael

Accepted Answer

Hey  @lijiaxu,

You can set the preferred visibility of these system views by using persistentSystemOverlays(_:). This allows you to indicate a preference, but the system might or might not be able to honor that preference.

Let me know if you have additional questions,
Michael

Close Home button
 
 
Q