Is it possible to show a swiftui view in compose ios ? 🤔 any relevant samples for that ?
d
Dima Avdeev
12/03/2022, 6:22 PM
Not for now
n
Nikita Lipsky
12/05/2022, 9:33 AM
… but it is planned
l
Landry Norris
12/05/2022, 1:54 PM
It’s technically ‘possible’ now, but not quite ‘easy’. You could wrap your SwiftUI view in a UIView, then use UIKit methods like I did in https://github.com/LandryNorris/PlatformView to render the UIView onto a Compose canvas. Not easy, but still possible (also, currently limited to when you can manually invalidate the view).