Last active
June 13, 2022 05:33
-
-
Save mazharulbelal/7779f93237a39f02539b84a979c5347c to your computer and use it in GitHub Desktop.
Open SwiftUI ViewController from UIKit Button press
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let controller = UIHostingController(rootView: SwiftUIView()) | |
self.navigationController?.pushViewController(controller, animated: true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment