ferdialif02
11/05/2025, 3:51 AMUIKitView(
factory = {
val webView =
wkwebviewInstance(
url = url(),
token = token,
onSizeChange = {
},
backgroundColor = backgroundColor,
)
webView.navigationDelegate = coord
webView.UIDelegate = coord
webView
},
modifier =
Modifier
.fillMaxWidth()
.wrapContentHeight()
.background(Color.Transparent),
update = { webView ->
webView.backgroundColor = backgroundColor.toUiColor()
webView.loadHTMLString(url(), null)
},
properties = UIKitInteropProperties(placedAsOverlay = true),
)Andrei Salavei
11/07/2025, 9:50 AMferdialif02
11/08/2025, 3:34 AM