Using a SwiftUI List Sidebar in a UISplitViewController
问题 I am attempting to build my app's navigation such that I have a UISplitViewController (triple column style) with my views built with SwiftUI. My Primary Sidebar is currently quite simple: struct PrimarySidebarView: View { @EnvironmentObject var appModel: AppModel var body: some View { List(PrimarySidebarSelection.allCases, id: \.self, selection: $appModel.primarySidebarSelection) { selection in Text(selection.rawValue) } .listStyle(SidebarListStyle()) .navigationBarItems(trailing: EditButton(