拒绝原因:
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.
问题原因:
使用微信分享、登录必须安装微信客户端,QQ登录、QQ空间分享过程中必须安装手机QQ客户端,在未安装客户端的设备上测试会提示下载,这是不符合苹果审核规则的。这是微信及腾讯QQ互联导致的问题。
解决方案: 首先调用微信SDK或QQ互联SDK的方法检测是否安装微信/QQ客户端:
if([QQApi isQQInstalled]){
[share registerQQAppId:QQApiKey enableSSO:YES];
[platforms addObject:FRONTIA_SOCIAL_SHARE_PLATFORM_QQWEIBO];//腾讯微博
[platforms addObject:FRONTIA_SOCIAL_SHARE_PLATFORM_QQ];//qq空间
}
//微信也一样的意思
[WXApi isWXAppInstalled]
如果未安装客户端则隐藏对应登录或分享按钮。 经过验证上述方法可以有效通过APPstore审核。