报错 PBItemCollectionServicer connection

原创
2018/09/04 15:22
阅读数 1.9K

一般出现在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;

`

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部