I'm making an app where multiple pages/views are embedded into a parent view that has a tab bar, menu bar, and header, Like this:
HeaderView()
MenuView()
TabView(selection: $selected){
HomeView()
Page2View()
Page3View()
Page4View()
}
When an user clicks on a list cell on one of the pages, I would like it to open into a detail view sideways, as opposed to opening as a sheet/modal that opens vertically, that hides the menu bar, header, and tabbar.. I've tried using a FullScreenCover for this, but it always presents bottom up, and I can't figure out how to present it from the side. I've also tried using a NavigationLink, but that keeps the tab bar, menu bar and header when I don't want them to show, and I can't figure out how to make the detail view fullscreen.
Do you know of any ways to either make a FullsSreenCover open sideways, or have a NavigationLink fill the entire screen when it is inside another view?

