INNER CODE UNIT · Swift

makeUIViewController

adrielcafe/voyager · samples/multiplatform-iosApp/iosApp/ContentView.swift:6

    func makeUIViewController(context: Context) -> UIViewController {
        MainViewControllerKt.mainViewController()
    }

    func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
}

struct ContentView: View {
    var body: some View {
        ComposeView()
                .ignoresSafeArea(.keyboard) // Compose has own keyboard handler
    }
}



View source record →

📰 Research Paper
Loading…
⏳ Fetching content…