Here's an example of a NavigationView that uses the new 3-column layout:
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?
Code Block 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?