Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

uni-app在IOS下使用webview拉起H5支付难道无解了吗?

我的开源项目 酷瓜云课堂 客户端是使用 uni-app 开发的,本来是想着全端支持省事,现在就遇到IOS下拉起h5支付不理想的问题。

uni-app 的 webview 对应到H5其实就是一个 iframe, 加上了sandbox属性

<web-view :src="targetUrl" sandbox="allow-scripts allow-top-navigation allow-same-origin"></web-view>

各浏览器拉起H5支付的测试的结果如下:

应用safarichromeqquc
支付宝????
微信????

有什么好的解决方案吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...