Hi,
I state that I am a self-taught developer, so I apologize if I will ask you some trivial questions.
I developed an app in UIkit, but later decided to use Swift UI for the main grafic interface, implementing it on a HostingViewController. I wanted to ask if and how it is possible to make a button (SwiftUI button) open another ViewController (based on UiKit)
Thanks guys :)
I state that I am a self-taught developer, so I apologize if I will ask you some trivial questions.
I developed an app in UIkit, but later decided to use Swift UI for the main grafic interface, implementing it on a HostingViewController. I wanted to ask if and how it is possible to make a button (SwiftUI button) open another ViewController (based on UiKit)
Thanks guys :)
You should use a navigationLink.
2. Call through navigationLink:
https://stackoverflow.com/questions/56437335/go-to-a-new-view-using-swiftui
wrap your UIKit VC in a Swift:
2. Call through navigationLink:
https://stackoverflow.com/questions/56437335/go-to-a-new-view-using-swiftui