报错 PBItemCollectionServicer connection

▼魔方 西西 提交于 2021-02-10 13:23:50

一般出现在qq/微信登录,分享不回调的情况。原生和友盟等集合sdk都有出现

以下三个方法都要写 `

  • (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options
  • (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
  • (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation `

` -(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url{

[QQApiInterface handleOpenURL:url delegate:self];
if (YES == [TencentOAuth CanHandleOpenURL:url])
{
    return [TencentOAuth HandleOpenURL:url];
}
if([QQApiInterface handleOpenURL:url delegate:self]==YES) {
    return YES;
}

if(YES == [WXApi handleOpenURL:url delegate:self])
{
    return YES;
}
return YES;

`

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!