收藏
回答

iOS 微信分享过后不能返回到自己的App?

SDK版本:OpenSDK1.8.7.1升级OpenSDK1.9.1(包含支付功能)

AppID = wx3597515a8ca886da

设备信息:iPhone XS - iOS14.2

问题描述:调用微信支付未支付点击X可以自动跳转回App,点击分享跳转微信分享成功,点击返回应用就会停留在当前聊天页面了,没办法返回到应用。

自检信息:

[14:54:14] -[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke_2 [第152行] WeixinSDK2:0, 1, check passed, 

[14:54:14] -[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke_2 [第152行] WeixinSDK2:1, 1, check passed, 

[14:54:14] -[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke_2 [第152行] WeixinSDK2:2, 1, check passed, 

[14:54:14] -[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke_2 [第152行] WeixinSDK2:3, 1, check passed, 

[14:54:14] -[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke_2 [第152行] WeixinSDK2:4, 1, check passed, 

[14:54:14] -[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke_2 [第152行] WeixinSDK2:5, 0, Universal Link check failed. The application is launched by WeChat via scheme, Common problems self-check guide: [微信开放平台App iOS端接入新版本SDK 常见问题自查指引]https://developers.weixin.qq.com/community/develop/doc/000ce0403bc9d0ea1a0a67f415b409

这个方法没执行

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray> * __nullable restorableObjects))restorationHandler {
        return [WXApi handleOpenUniversalLink:userActivity delegate:[WXApiManager sharedManager]];
}
最后一次编辑于  2021-08-11
回答关注问题邀请回答
收藏
登录 后发表内容