Apple登录iOS 12 [英] Apple Sign In for iOS 12

查看:62
本文介绍了Apple登录iOS 12的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有用户在iOS 10、11、12和13中使用我们的应用程序,并在其中使用诸如Facebook和Google之类的第三方登录.

We have users using our application in iOS 10,11,12 and 13 and where we are using third party Sign In like facebook and Google.

最近,必须强制要求使用Apple登录"如果我们使用第三方登录.但是似乎Apple Signin框架仅在iOS 13中受支持.

Recently it is mandatory to have "Sign in with Apple" if we use the third party sign in . But it seems Apple Signin framework is only supported in iOS 13 .

在这种情况下,是否不需要支持低于iOS 13的Apple SignIn?

In this case , whether it is not necessary to support Apple SignIn lower than iOS 13 ?

private func setupLoginWithAppleButton() {
        if #available(iOS 13.0, *) {
            //Show "Sign in with Apple" button and proceed to Apple Sign in 
        } else {
           // Hide "Sign in with Apple" button
        }
    }

对于iOS版本低于13的用户,使用Apple登录"按钮将不会显示,而那些版本为13或更高版本的Apple Sign按钮将显示并继续执行Apple登录.

For Users with iOS version lower than 13 "Sign in with Apple" button wont be displayed and those whose version is 13 and above Apple Sign button will be displayed and proceed with Apple Sign in .

如果我们像上面一样提交申请,Apple会批准我们的版本吗?

If we submit the application like above does Apple will approve our build ?

谢谢

推荐答案

是的,Apple会批准.我已经在某些应用中实现了此解决方案,而且还可以.

Yes, Apple will approve it. I've made this solution in some apps and it's ok.

这篇关于Apple登录iOS 12的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆