码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2014-10-14 13:57:58      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:io   os   使用   ar   for   sp   div   on   问题   

拒绝原因:

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审核。

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

标签:io   os   使用   ar   for   sp   div   on   问题   

原文地址:http://www.cnblogs.com/liangjialun219/p/4024088.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!