windows - 使用 UIElement 创建 Cordova UWP 插件

标签 windows cordova xaml uwp cordova-plugins

目前,我们有一个 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/

相关文章:

mysql - 适用于 Windows 的 Sequel Pro 替代品

windows - Windows 上的 Postgresql WAL

cordova - InAppBrowser(Apache cordova 插件)在 Windows 8.1 中无法打开

c# - 从 Viewmodel 更改应用栏模板和长列表选择器

xaml - 模板 10 :Hamburger Panel color not changing

c# - Xamarin Forms - 仅在图像而不是整个屏幕上使用捏合手势

c# - 识别显示设备的可靠方法?

java - 将 Java 应用程序作为服务运行

android - Cordova Android 相机插件在捕获后不显示图像

android - 在 cordova 7 上忽略设置视口(viewport)宽度