您好,我们iOS应用使用微信登陆,登陆失败。
这是我们工程师发的反馈:In WeChat documentation it was described as The third-party app calls this function, switches to WeChat interface and waits for onResp returned from WeChat. WeChat must calls onResp after the asynchronous processing. Possible requests include SendMessageToWXReq, etc. which returns Yes (success) or No (failure) .
So as we understand this method must return NO only in case of failure, but in reality it returns NO and successfully logged in to WeChat. That is the reason we face this issue.
SendAuthReq *req = [[SendAuthReq alloc] init];
req.scope = @"snsapi_userinfo";
if (![WXApi sendReq:req]) {
[self callAuthCompletionWithResult:nil withError:[self generateAuthorizationError] isCancelled:NO];
}
谢邀!但很抱歉,我不会iOS开发,无法帮到你。
你好,麻烦再重现一次,在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点