Goo*_*iec 5 iphone xcode ios apple-sign-in
我有一个关于 Apple 登录的问题。在 App Store Guideline 中,我们发现当应用程序使用第三方登录选项(如 google 或 facebook)时,Apple Sign in 是强制性的。据我所知,苹果登录机制是在 ios 13 中添加的。如果我想构建应用程序怎么办iOS 的最低版本设置为 11 还是 12?我仍然需要实现 Apple 登录(如果是,如何实现?)?
private func setupLoginWithAppleButton() {\n if #available(iOS 13.0, *) {\n //Show sign-in with apple button. Create button here via code if you need. \n } else {\n // Fallback on earlier versions\n //Hide your sign in with apple button here.\n }\n }\nRun Code Online (Sandbox Code Playgroud)\n\n如果您收到错误:授权返回错误:操作无法完成\xe2\x80\x99。(com.apple.AuthenticationServices.AuthorizationError 错误 1000。)
\n\n\n\n只需从功能中添加“使用 Apple 登录”即可。
\n