Hi , I'm working with `UIKitViewController` I nee...
# compose-ios
a
Hi , I'm working with
UIKitViewController
I need it's background to be transparent, tried couple of solution but with no luck Right now it shows white background, Any advice ?
Copy code
UIKitViewController(
    factory = {
        val controller = ComposeUIViewController({
            opaque = false
            platformLayers = false
        }) {
           // uIViewController()
        }
        controller.view.backgroundColor = UIColor.clearColor
        controller
    },
    background = Color.Transparent,
    interactive = false,
    modifier = modifier.size(48.dp)
)
r
https://youtrack.jetbrains.com/issue/CMP-6801/ComposeUIViewController-has-white-background-regardless-of-opaque-configuration ComposeUIViewController transparency works with Compose Multiplatform 1.7.1+, but for UIKitViewController it's not supported. See last comment.
👀 1