UIHostingController displays blank detail view when invoked

I decided to add a new feature to my app using SwiftUI. It almost completely works, except I'm not quite happy with the behavior of the UIHostingController on my iPad.

The SwiftUI part is a list of aviation weather stations, sorted by distance from the user's location.

The detail screen invoked by the list view is the current data from that station. This is a preexisting UIKit ViewController.

It works *almost* flawlessly on my iPhone 7, but when I try to bring it up on my Mini 4, I will get a blank detail view controller.

But the SwiftUI list is available on top of the detail view by swiping it in from the left.

Not quite what I want to see.

I see there are a few options such as sheet and isActive, but I'm not sure how to get them to work with the List view.

Not sure it answers your question. Problem maybe that when selection does not change, the detail is not updated.

Could you force chaging the selection in list to check for this ?

I Found the solution here: https://stackoverflow.com/questions/62624524/navigationview-swiftui-shows-split-view-in-ipad

Short version:
Code Block
NavigationView {
Text("Hello")
.navigationBarTitle("Home")
}
.navigationViewStyle(StackNavigationViewStyle())

UIHostingController displays blank detail view when invoked
 
 
Q