struct NavigationView
struct NavigationLink
struct NavigationBarItem
Technology
Use presentation containers to provide structure to your app’s user interface, enabling users to easily move among the parts of your app. For example, you can enable users to navigate forward and backward through a stack of views using a Navigation
, choose which view to display from a tab bar using a Tab
, or progressively disclose views in a tree structure using an Outline
.
A presentation view might act as the root view of a Scene
, but not all scenes require a presentation view. You can also create complex behaviors by nesting certain presentation views inside other presentation views. For example, you can create an outline in the primary pane of a multi-pane window that drives the content in the detail pane by embedding an outline group inside a navigation view.
If you want to present alerts, sheets, popovers, or other kinds of modal views, see Presentation Modifiers instead.
struct NavigationView
struct NavigationLink
struct NavigationBarItem
struct OutlineGroup
struct DisclosureGroup
struct TabView
struct HSplitView
struct VSplitView
struct TimelineView
protocol TimelineSchedule
struct ToolbarItem
struct ToolbarItemGroup
ToolbarItem
s which can be placed in the toolbar or navigation bar.
あるモデル、それはツールバーまたはナビゲーションバーの中に置かれることができるToolbarItem
それらからなるあるグループを表します。
struct ToolbarItemPlacement
protocol ToolbarContent
protocol CustomizableToolbarContent
struct ToolbarContentBuilder
struct TouchBar
enum TouchBarItemPresence