Looking to tweak default behaviour for a SwiftUI NavigationView in a TabView on iPad (in Portrait orientation)

At the top level, my app has a tab bar.
the second tab's root view is a list view. When a user taps an item in the list, the app presents a detail view for the list item.
The problem I'm currently having is the behaviour the first time the user taps the second tab's button in the tab bar (when running on an iPad in portrait.
There is a navBar at the top, but the screen is otherwise empty. (tapping the left button on the navBar shows the list view, which allows the user to select an item which populates the main detail view)
Is there some way (in swfitUI) to force the list view to show when in portrait? Alternatively/additionally, is there someway to present some instructional view in the otherwise empty view. (It doesn't appear to be creating a standard detail view here until the user exposes the list and picks an item)
Here is some sample code that demonstrates what I'm describing.
thanks in advance for any assistance!
Mike

Code Block
import SwiftUI
struct ContentView: View {
    var body: some View {
        TabView(){
            FirstTabView()
                .tabItem {
                    Text("First")
                }
                .tag(0)
            SecondTabView()
                .tabItem {
                    Text("Second")
                }
                .tag(1)
        }
    }
}
struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
        .previewDevice(PreviewDevice(rawValue: "iPad8,1"))
    }
}
struct FirstTabView: View {
    var body: some View {
        Text("First View")
    }
}
struct SecondTabView: View {
    var body: some View {
        NavigationView {
            NavigationLink(destination: Text("Detail View")) {
                Text("SummaryView")
            }
            .navigationBarTitle("Navigation")
        }
    }
}


Hi,

I've got the same problem. Did you find a way to fix it?

Thanks,
Thomas

I have not found a way to force the NavigationView to display the List view when iPad is in portrait. If the NavigationLink's are embedded within the List, you can simply add a view after the List within the NavigationView, which will be shown when there is no selection:

NavigationView {
    List(items) { item in
        NavigationLink(destination: DetailView(item) ) { Text(item.description) }
    }

    ViewToShowWhenNoLinkIsActive()
}
Looking to tweak default behaviour for a SwiftUI NavigationView in a TabView on iPad (in Portrait orientation)
 
 
Q