gpt4 book ai didi

ios - Fabric : Digits not working iOS 10

转载 作者:行者123 更新时间:2023-11-28 16:07:53 24 4
gpt4 key购买 nike

我使用 Digits 进行手机号码 OTP 验证。将 Xcode 7.3 更新到 Xcode 8 后。我无法获得 OTP。

现在我收到以下错误

enqueueRequest:sessionStore:requestingUser:completion: Invalid parameter not satisfying: sessionStore

谁能帮帮我?

最佳答案

 //just paste this 
let authButton = DGTAuthenticateButton(authenticationCompletion: { (session, error) in
if (session != nil) {
// TODO: associate the session userID with your user model
let message = "Phone number: \(session!.phoneNumber)"
let alertController = UIAlertController(title: "You are logged in!", message: message, preferredStyle: .alert)
alertController.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: .none))
self.present(alertController, animated: true, completion: .none)
} else {
NSLog("Authentication error: %@", error!.localizedDescription)
}
})
authButton?.center = self.view.center
self.view.addSubview(authButton!)
}

关于ios - Fabric : Digits not working iOS 10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39972172/

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