A simple adapter to use native navigation between SwiftUI and UIKit
It requires iOS 14
In Xcode go to File -> Swift Packages -> Add Package Dependency
and paste in the repo's url: https://github.com/pavellunev99/ViewControllerAdapter
or just copy the code from the Source folder :)
NavigationView {
VStack {
NavigationLink("Push View Controller", destination: ViewControllerAdapter(SomeViewController()))
}
.navigationTitle("SwiftUI View")
}