第一次被拒:第三方登录是用的ShareSDK,没有做"对于没有安装微信的处理",点击微信登录后的界面是ShareSDK的固有H5页面
Design - 4.2.3 We were required to install the Wechat apps before we can log-in via Wechat. The user should be able to log-in and access their account, without requiring additional applications to be installed. Next Steps If you choose to allow users to log-in via Wechat, please use methods that can authenticate users from within your app, such as a native web-view.
第二次被拒:在未安装微信时,点击微信登录的按钮提示微信没有安装,有一个按钮是"确定",点击确定什么都不干
苹果给发的邮件是:
Guideline 4.2.3 - We were required to install the WeChat app before we could log in via WeChat. Users should be able to log in with WeChat and access their accounts without having to install any additional apps. Next Steps If you would like to offer authentication through WeChat, please use a mechanism that allows users to log in with WeChat from within your app without first having to install an additional app. We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and inspection of the certificate from an embedded browser in an app so that customers can verify the webpage URL and SSL certificate to confirm they are entering their sign in credentials into a legitimate page. Resources For additional information on the Safari View Controller API, please review the What's New in Safari webpage. |
第三次被拒:把未安装微信时,微信登录的按钮做成不可点击的灰置.结果就是迎来了第三次被拒.
苹果给发的邮件是:
Design - 4.2.3
We were required to install WeChat before we could
use your app. Apps should be able to run on
launch, without requiring additional applications
to be installed.
Next Steps
Please revise your app to ensure that users can use
it upon launch. If your app requires
authentication before use, please use methods that
can authenticate users from within your app.
解决方案:未安装微信时隐藏微信登录图标
另外附上如何判断微信有没有安装的API
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"weixin://"]]) {
}