gpt4 book ai didi

ios - 苹果ios13以下登录

转载 作者:行者123 更新时间:2023-11-29 05:08:16 25 4
gpt4 key购买 nike

我有关于 Apple Sign In 的问题。在 App Store 指南中,我们可以发现,当应用程序使用第三方登录选项(如 google 或 facebook)时,Apple 登录是强制性的。据我所知,Apple 登录机制已在 ios 13 中添加。如果我想使用以下内容构建应用程序怎么办? iOS 的最低版本设置为 11 还是 12?我仍然需要实现 Apple 登录(如果需要,如何实现?)?

最佳答案

private func setupLoginWithAppleButton() {
if #available(iOS 13.0, *) {
//Show sign-in with apple button. Create button here via code if you need.
} else {
// Fallback on earlier versions
//Hide your sign in with apple button here.
}
}
<小时/>

如果您收到错误:授权返回错误:操作无法完成。 (com.apple.AuthenticationServices.AuthorizationError 错误 1000。)

Simply Add "Sign In with Apple" from Capability.

关于ios - 苹果ios13以下登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59953429/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com