SendAuthReq* req =[[[SendAuthReq alloc ] init ] autorelease ]; req.scope = @"snsapi_userinfo" ; req.state = @"123" ; [WXApi sendReq:req completion:^(BOOL success){NSLog(@"success = %d",success);}]; 执行到最后一句代码直接崩啦,不知道什么问题,回调也没执行
调用WXApi sendReq:req completion:^(BOOL success的问题?[WXApi sendReq:req completion:^(BOOL success) 是成功的 可是跳转到微信之后会展示以下图片 [图片] 然后就立马跳回到了调用的app 控制台打印了信息有:PBItemCollectionServicer connection disconnected. 以下 - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation 都没有回调 微信版本号:7.0.10 Universal Links:https://az55.t4m.cn/ 微信id: wx69f13746be8b935b 系统版本 ios 12.4 openWechatOpenSDK版本: (1.8.6)
2020-04-10