init(sidebar:detail:)
Creates a two-column navigation split view.
Declaration
init(@ViewBuilder sidebar: () -> Sidebar, @ViewBuilder detail: () -> Detail) where Content == EmptyViewParameters
- sidebar:
The view to show in the leading column.
- detail:
The view to show in the detail area.