【问题标题】:read return URL response after post back in xamarin froms webview在 xamarin 表单 webview 中回发后读取返回 URL 响应
【发布时间】:2017-04-21 23:23:09
【问题描述】:

我已经使用 Xamarin 表单在 Webview 中实现了 Billdesk 支付网关。它工作正常并打开支付网关进行支付,但在支付后它返回一个响应成功或失败的网页,该网页也来自 Billdesk 服务器。我想阅读我的 xamarin 表单 webview 中此返回 url 页面的此响应。任何人都可以针对此问题回复我。

【问题讨论】:

标签: c# xamarin webview xamarin.forms


【解决方案1】:

您可以将 html 绑定到 VM 中的 HtmlWebViewSource 并检查 html 字段是否已更改,或者甚至进一步将 html 字段设置为 VM 中的另一个字段,以便您可以访问它。然后在 setter 中,检查你需要的响应。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-03-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-21
    • 1970-01-01
    • 2021-04-20
    • 1970-01-01
    相关资源
    最近更新 更多