The following article shows how to configure UIKit navigation bars from SwiftUI:
livsycode.com/swiftui/configuring-u…
#iOSDev #SwiftUI
livsycode.com
Configuring UIKit Navigation Bars from SwiftUI → Livsy Code
Greetings, traveler! Many iOS projects are not fully SwiftUI applications. A common setup is to use SwiftUI for building screens while keeping UIKit responsible for navigation: let viewController = UIHostingController( rootView: DetailsView() ) navigationController.pushViewController( viewController, animated: true )let viewController = UIHostingController( rootView: DetailsView() ) navigationController.pushViewController( viewController, animated: true ) This approach works well, especially in