Hello community, I'm working on a small pet-projec...
# compose-ios
a
Hello community, I'm working on a small pet-project that uses JetBrains Compose for android and iOS. All UI elements are written on the JetBrains Compose and shared between Android & iOS, however I faced an issue: I need to add custom view that implemented on Android (XML) and iOS (Swift UI) and I want to use this view in my shared UI screens/elements. Is there any guide how I can do so, or maybe someone already did it ? I'll be appreciate to have any advice, thanks!
d
Joe linked a good example of approach using Platform views, like
AndroidView
and
UIKitView
For now, we can't use SwiftUI inside Compose. But we can use UIView from the UIKit framework.