背景:
app如果有使用第三方授权登录(如:微信登录)的情况下,那么苹果上架审核要求:也必须支持Sign in with Apple的方式授权登录。被拒绝理由如下:
Guideline 4.8 - Design - Sign in with Apple
We noticed that your app uses a third-party login service but does not offer Sign in with Apple.
Next Steps
To resolve this issue, please revise your app to offer Sign in with Apple as an equivalent login option.
Resources
To learn more, see the Sign in with Apple Overview.
Please see attached screenshots for details.
实现过程
1、选中工程 -- TARGETS -- Signing & Capabilities -- + Capability中添加 Sign in with Apple,此过程会自动在AppStore开发者账号中对应的正式添加Sign in with Apple功能;
2、自定义授权按钮--发起授权--实现代理--获取user唯一标示,打通自身用户体系。
demo
参考链接
参考链接 demo