Morgane Soula
10/06/2025, 5:57 PM@Composable
fun App() {
CustomAppTheme {
Box(
Modifier
.fillMaxSize()
.background(MaterialTheme.colorScheme.background)
) {
Box(
Modifier
.fillMaxSize()
.statusBarsPadding()
.navigationBarsPadding()
.border(2.dp, Color.Magenta)
) {
Text("This a text to test screen size on iPhone", color = Color.White)
}
}
}Chanjung Kim
10/07/2025, 3:31 PMComposeUIViewController , and the default template uses SwiftUI's UIViewControllerRepresentable to host a Compose view. I also suggest you to go to #C0346LWVBJ4.Morgane Soula
10/07/2025, 3:31 PMChanjung Kim
10/07/2025, 3:34 PMMorgane Soula
10/07/2025, 3:47 PM