Swiftui Cannot mix up a UIViewController + Complier bug problem
I have a problem that i fixed for 2 days still cannot solve. My project is like this. struct ContentView: View{ var body: some View{ Controller() } } struct Controller: UIViewControllerRespresentable{ func makeUIViewController(context: Context) -> Contro { let viewController = Contro() //additional setup return viewController } func updateUIViewController(_ uiViewController: Contro, context: Context) { //update Content… Read More Swiftui Cannot mix up a UIViewController + Complier bug problem