Hello, does anyone else have this issue when tryin...
# compose
m
Hello, does anyone else have this issue when trying to use exported Compose screen through XCFramework in iOS app?
n
Copy code
struct HostingWindowFinder: UIViewRepresentable {
  var callback: (UIWindow?) -> ()

  func makeUIView(context: Context) -> UIView {
    let view = UIView()
    DispatchQueue.main.async { [weak view] in
      self.callback(view?.window)
    }
    return view
  }

  func updateUIView(_ uiView: UIView, context: Context) {
  }
}
this run on my xcode with no multiplatformLib Maybe you should change
context
by
*Self*.Context
m
In our case something is wrong in MultiplatformLib that we import