使用sdk版本 WechatOpenSDK 1.8.7.1
机型 ios13.1
现象见视频文件
调用代码
WXApi.registerApp(wxAPPid, universalLink: "https://******.cn/")
let message = WXMediaMessage()
message.title = shareTitle
message.description = shareTitle
let imageData = try? Data(contentsOf: URL(string: imageURL)!)
message.thumbData = imageData
//网页对象
let webObj = WXWebpageObject()
webObj.webpageUrl = shareURL
message.mediaObject = webObj
let send = SendMessageToWXReq()
send.bText = false
send.message = message
send.scene = Int32(btn.tag == 10 ? WXSceneSession.rawValue : WXSceneTimeline.rawValue)
WXApi.send(send)
self.dismissShare()
?
Swift开发的吧,看下我分享的这个和你一不一样https://developers.weixin.qq.com/community/develop/article/doc/0004c6531d023056147aea99256813
你好,请参考以下常见问题的解答:
App更新微信1.8.6.1版本SDK后出现“正在连接”的提示?每次分享出现二跳
https://developers.weixin.qq.com/community/develop/doc/0002ca9dd24018bdd2993dda05b800
Universal Link校验不通过/接入新SDK,跳到微信后再回跳App,流程就中止?
https://developers.weixin.qq.com/community/develop/doc/000880a051015855aea992f995bc09