How to add secondary panel out side of the main panel?

Just like this pic shows, how to add secondary panel out side of the main panel by using SwiftUI?

Answered by Vision Pro Engineer in 795790022

Hey @YimingLi,

These accessory views can be created by either using Toolbars or Ornaments. The application in your screenshot most likely used toolbars.

In Creating tabletop games, a toolbar is used to show the game reset and share play buttons.

In Hello World, you can enable a settings button ornament on each panel, by setting the showDebugSettings to true in SettingsButton.swift.

Thanks for your question,

Michael

Hey @YimingLi,

These accessory views can be created by either using Toolbars or Ornaments. The application in your screenshot most likely used toolbars.

In Creating tabletop games, a toolbar is used to show the game reset and share play buttons.

In Hello World, you can enable a settings button ornament on each panel, by setting the showDebugSettings to true in SettingsButton.swift.

Thanks for your question,

Michael

How to add secondary panel out side of the main panel?
 
 
Q