使用 UIElement 创建 Cordova UWP 插件
Create a Cordova UWP Plugin with a UIElement
目前,我们有一个 Cordova 插件和一个 UWP Class 库。该库针对不同的 UI 工作流程使用原生 UIElements。有没有办法显示那些 UI 元素?我读到,无法显示 XAML 视图。有什么解决办法吗?
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 视图也不可用。
所以,你的要求是不可能的。
目前,我们有一个 Cordova 插件和一个 UWP Class 库。该库针对不同的 UI 工作流程使用原生 UIElements。有没有办法显示那些 UI 元素?我读到,无法显示 XAML 视图。有什么解决办法吗?
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 视图也不可用。 所以,你的要求是不可能的。