mirror of
https://github.com/BetterAndroid/compose-multiplatform-template.git
synced 2025-09-08 19:44:11 +08:00
Initial commit
This commit is contained in:
9
shared/src/iosMain/kotlin/App.ios.kt
Normal file
9
shared/src/iosMain/kotlin/App.ios.kt
Normal file
@@ -0,0 +1,9 @@
|
||||
@file:Suppress("unused")
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.window.ComposeUIViewController
|
||||
|
||||
fun createUIViewController() = ComposeUIViewController { MainView() }
|
||||
|
||||
@Composable
|
||||
fun MainView() = App()
|
Reference in New Issue
Block a user