There are some issues with the
NavigationView in SwiftUI that prevent the Master Detail version from showing the back button in portrait mode. To get around this I’m using
StackNavigationViewStyle. This is OK on most iPads, but on the larger iPad Pro models in landscape it looks ridiculous.
This is my attempt to get around this issue. I added a frame to the list/form object on each of these layouts.
.frame(minWidth: nil, idealWidth: 600, maxWidth: 700, minHeight: nil, idealHeight: nil, maxHeight: nil, alignment: .leading)
This caps the maxWidth at 700pt. While this works as intended it does’t look great. On the layouts using
GroupedListStyle I was able to match the background, but it would look much better if I could round the section corners. iOS 13 has a new grouped style for that but it has not made it to SwiftUI yet.
On the layout using
DefaultListStyle this looks a little better. The only thing I don’t care for the section header. If I could remove the background color it would look much better.
If you know of a workaround for rounding the List Sections please let me know.