有没有亲切的老师可以回答我上面的问题?
仅供参考我正在使用WebStorm并使用node.js我安装了npm模块nconf和package-lock.json.我期望package.json会被制作出来.
谢谢.
这是我的场景。
Someone has iPhone and iPad (iOS 13.0 or later), and he signed up with same appleID.
And he `sign in with apple` in his iPhone and try to `sign in with apple` again in his iPad.
Run Code Online (Sandbox Code Playgroud)
我不希望他在触摸登录按钮时通过编辑他的姓名或检查共享或隐藏他的电子邮件两次来“使用苹果登录”两次。
我从示例代码中找到了一些可以帮助我上面的场景的代码
func performExistingAccountSetupFlows() {
// Prepare requests for both Apple ID and password providers.
let requests = [ASAuthorizationAppleIDProvider().createRequest(),
ASAuthorizationPasswordProvider().createRequest()]
// Create an authorization controller with the given requests.
let authorizationController = ASAuthorizationController(authorizationRequests: requests)
authorizationController.delegate = self
authorizationController.presentationContextProvider = self
authorizationController.performRequests()
}
Run Code Online (Sandbox Code Playgroud)
我发现 …