Hello everyone, I am developing an iOS application...
# compose
i
Hello everyone, I am developing an iOS application using Kotlin + Compose UI, and I’m seeing a black screen on iOS when switching screens in a Compose Multiplatform app. Looks like a rendering glitch — maybe related to Skia or something else. Has anyone encountered or solved this? Any advice or workaround appreciated! Here’s a short video showing the issue:
k
I've never seen that. Without a source code, this is not possible to help you
👆 1
i
I can't post the whole project here, but maybe you can give me some idea what can lead to this problem, and I'll try to post some part of the code? Until now, I have tried to create an empty project with the same navigation structure as the real project, but couldn't reproduce in a simple case this issue. I am using navigation architecture as on the images below, and also tried different transition animation issues still happen even without transition animation, and still do not understand what code follows this problem
Just for information, this bug was solved by this update🔥 https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.10.0-rc02 In my case update of these details solved the problem 👌
Copy code
compose-multiplatform = "1.10.0-rc02"
compose-ui-backhandler = { module = "org.jetbrains.compose.ui:ui-backhandler", version.ref = "compose-multiplatform" }
composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "compose-multiplatform" }


androidx-navigation = "2.9.1"
androidx-lifecycle-navigation = { group = "org.jetbrains.androidx.navigation", name = "navigation-compose", version.ref = "androidx-navigation" }

androidx-lifecycle = "2.10.0-alpha06"
androidx-lifecycle-viewmodel = { group = "org.jetbrains.androidx.lifecycle", name = "lifecycle-viewmodel", version.ref = "androidx-lifecycle" }
androidx-lifecycle-runtime-compose = { group = "org.jetbrains.androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "androidx-lifecycle" }
androidx-lifecycle-navigation = { group = "org.jetbrains.androidx.navigation", name = "navigation-compose", version.ref = "androidx-navigation" }