iOS14 UISplitViewController with SwiftUI

Hi,
Just a question about working with the new UISplitViewController in iOS14: is there a way to achieve this with SwiftUI? Or is it going to be a UIKit-only control? Ideally, we would be able to share the same behavior between iOS and macOS going forward.

Thanks.
SwiftUI does have basic sidebar support; use NavigationView. Here's an example.

But then all the "magic" about handling .regular and .compact layouts has to be done manually, is there an update coming soon to achieve the same directly on SwiftUI?

iOS14 UISplitViewController with SwiftUI
 
 
Q