目前,我们有一个 Cordova 插件和一个 UWP 类库。该库针对不同的 UI 工作流程使用 native UIElement。有没有办法显示这些 UIElements?我读到,无法显示 XAML View 。有什么解决办法吗?
最佳答案
Cordova is using the WebViews. So, we just have the WebView environment. But yes, somehow use the XAML view, or communicating with it.
是的。 Cordova 在 Android 和 IOS 中使用 WebView,但在 Cordova UWP 中不使用。 Cordova UWP 的底层实际上是使用javascript。 XAML View 也不可用。 所以,你的要求是不可能的。
关于windows - 使用 UIElement 创建 Cordova UWP 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52382714/