ios8分享没有对应APP审核失败解决方法

拒绝缘由:微信

Additionally, we found that your app requires the installation of another app before it can be used, which is not in compliance with the App Store Review Guidelines. Apps should be able to run on launch, without requiring additional applications to be installed.

Specifically, we were required to install WeChat/QQ before we could use the sharing features in your app.

Please revise your app so that a user can use it upon launch. If your app requires authentication before use, please use a method that can authenticate users from within your app.app

问题缘由:ide

使用微信分享、登陆必须安装微信客户端,QQ登陆、QQ空间分享过程当中必须安装手机QQ客户端,在未安装客户端的设备上测试会提示下载,这是不符合苹果审核规则的。这是微信及腾讯QQ互联致使的问题。测试

解决方案: 首先调用微信SDK或QQ互联SDK的方法检测是否安装微信/QQ客户端:ui

    if([QQApi isQQInstalled]){
        [share registerQQAppId:QQApiKey enableSSO:YES];
        [platforms addObject:FRONTIA_SOCIAL_SHARE_PLATFORM_QQWEIBO];//腾讯微博
        [platforms addObject:FRONTIA_SOCIAL_SHARE_PLATFORM_QQ];//qq空间
    }

//微信也同样的意思orm

[WXApi isWXAppInstalled]ci

若是未安装客户端则隐藏对应登陆或分享按钮。 通过验证上述方法能够有效经过APPstore审核。it

相关文章
相关标签/搜索