第三方被拒---没有安装微信客户端

本文记录了一款iOS应用因微信登录功能未处理好未安装微信情况而三次被App Store拒绝的过程,并提供了最终解决方案及如何判断设备是否已安装微信的方法。


第一次被拒:第三方登录是用的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://"]]) {
}


【SCI复现】含可再生能源与储能的区域微电网最优运行:应对不确定性的解鲁棒性与非预见性研究(Matlab代码实现)内容概要:本文围绕含可再生能源与储能的区域微电网最优运行展开研究,重点探讨应对不确定性的解鲁棒性与非预见性策略,通过Matlab代码实现SCI论文复现。研究涵盖多阶段鲁棒调度模型、机会约束规划、需求响应机制及储能系统优化配置,结合风电、光伏等可再生能源出力的不确定性建模,提出兼顾系统经济性与鲁棒性的优化运行方案。文中详细展示了模型构建、算法设计(如C&CG算法、大M法)及仿真验证全过程,适用于微电网能量管理、电力系统优化调度等领域的科研与工程实践。; 适合人群:具备一定电力系统、优化理论和Matlab编程基础的研究生、科研人员及从事微电网、能源管理相关工作的工程技术人员。; 使用场景及目标:①复现SCI级微电网鲁棒优化研究成果,掌握应对风光负荷不确定性的建模与求解方法;②深入理解两阶段鲁棒优化、分布鲁棒优化、机会约束规划等先进优化方法在能源系统中的实际应用;③为撰写高水平学术论文或开展相关课题研究提供代码参考和技术支持。; 阅读建议:建议读者结合文档提供的Matlab代码逐模块学习,重点关注不确定性建模、鲁棒优化模型构建与求解流程,并尝试在不同场景下调试与扩展代码,以深化对微电网优化运行机制的理解。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值