1***@163.com
1***@163.com
  • 发布:2025-08-20 15:16
  • 更新:2025-08-22 09:55
  • 阅读:86

ios18中webview内嵌的h5微信支付无法拉起微信支付。

分类:uni-app

测试页面https://static-dsu.wesure.cn/sitapp/app4/benefit-the-people/static/pages/test.html
最新版本的HX,vue2版本,web-view中 访问 测试页面,在iOS18系统中无法拉起微信支付。在iOS其他系统版本中可以拉起微信支付

2025-08-20 15:16 负责人:DCloud_iOS_ZFL 分享
已邀请:
DCloud_iOS_ZFL

DCloud_iOS_ZFL

document.getElementById("btn2").onclick = function () {
setTimeout(function () {
location.href = "weixin://";
}, 0);
}
这个逻辑只是打开微信app,验证测试可以打开微信app, 您的意思是无法拉起微信支付功能,还是在iOS18上不能启动微信app?
我的验证机器:iphone 14pro(iOS 18.3.1)标准基座
请提供一个具体的示例?我是新建vue2 空项目,仅仅添加了如下webview
<web-view style="width: 100%; height: 100%;" src="https://static-dsu.wesure.cn/sitapp/app4/benefit-the-people/static/pages/test.html"></web-view>

您这边用的是自定义基座还是标准基座?

1***@163.com

1***@163.com (作者)

我是离线sdk,在 ios18上不能启动微信,是需要升级到最新的sdk包吗?

要回复问题请先登录注册