Hi guys, I just want to ask if this channel is als...
# compose-ios
t
Hi guys, I just want to ask if this channel is also meant for discussion about "one Jetpack Compose UI for iOS and Android" aka Compose Multiplatform(?) questions. If yes, my first question is if anyone has created a Composable that wraps a
WKWebview
in a shared UI app. 🙂
l
Native views inside of compose are not complete yet. This feature is in active development right now. https://github.com/JetBrains/androidx/tree/dima-avdeev/uikit-interop-4
t
Ah ok. That means in short that my approach of am
actual / expect
implementation of a Webview in my shared UI app is currently not possible?
d
Correct, not possible with current builds.
l
You could technically use UIView.drawInHierarchy to create an Image and draw it to a Canvas, but it's probably better to wait until this is done officially.
d
'possible' in computing is nearly always relative 😁
l
I tried it once just to learn the internals of Compose and low-level UIKit interaction. Definitely not practical for real code.
d
Also regarding possibilities: • Dev: Can I declare my Dock Icon in Compose?Community: LOL, dream on! (probably) • @Landry Norris: Hold my beer
t
haha, thank you guys!
d
Wow, very interesting... 🤔 😄