Type Property 型プロパティ

sidebar

The search field is placed in the sidebar of a navigation view.

Declaration 宣言

static let sidebar: SearchFieldPlacement

Discussion 議論

On iOS, and iPadOS the search field is placed in the section of the navigation bar associated with the sidebar.

On macOS, the search field is placed inline with the sidebar’s content.

If a sidebar is not available, the search field is placed inline with other available content.