Can we inflate a ComposeView as an item for SwiftU...
# multiplatform
m
Can we inflate a ComposeView as an item for SwiftUI List? If yes, can you please point me to some documentation or a sample?
c
You'll probably get more answers in #C0346LWVBJ4 or #C9JM6Q2UX
thank you color 1
p
Sure you can, but you need to wrap the item for your list as UIKit view and then put your compose view in it. Which part are you struggling with?
m
I was able to wrap my ComposeView into ComposeUIViewController but then I am not able to use it in LazyVStack. I had to use it in VStack which is not the right thing to do for long list with dynamic data.