ComposeUIViewController

annotation class ComposeUIViewController(val frameworkBaseName: String = "", val opaque: Boolean = true)

Used to annotate the @Composable as a desired ComposeUIViewController to be used by the iOS app. The @ComposeUIViewController has a frameworkBaseName parameter to manually set the framework name. This parameter will only be used if detection fails within the Processor. More here

Parameters

frameworkBaseName

Kotlin Multiplatform library iOS targets framework base name

opaque

Determines whether the Compose view should have an opaque background. Warning: disabling opaque layer may affect performance.

Properties

Link copied to clipboard
Link copied to clipboard
val opaque: Boolean = true