During the 10104 Session John explained that the item can be placed inside the sidebar by setting it to track the sidebarSeparator. Is this achievable in a Multiplatform Swift UI application?
I've tried all of the ToolbarItemPlacements available, but with no success.
Post
Replies
Boosts
Views
Activity
Here's an example of a NavigationView that uses the new 3-column layout:
struct ContentView: View {
var body: some View {
NavigationView {
PrimaryColumn()
SupplementaryColumn()
SecondaryColumn()
	 }
}
}
When the app starts on the iPad in the landscape mode, the supplementary and secondary columns are visible and the primary column can be opened with the Back button.
I'd like for the primary column to be visible immediately, because when the app starts the secondary column doesn't have any content. I could include some placeholder text, but the user would still have to take an extra step to expand the primary column, which is annoying.
With UIKit, I could use UISplitViewController with tripleColumn style, and expand the primary column manually by setting its display mode to twoBesideSecondary, for example.
Is this possible to achieve in SwiftUI?