0
我下面就如何落實Facebook和Twitter的註冊與解析this教程,並收到此錯誤型表達的不明確沒有更多的情況下錯誤的執行解析註冊
表達的類型是沒有更多的contexterror
曖昧
上loginViewController.fields線
override func viewDidAppear(animated: Bool) {
super.viewDidAppear(animated)
if (PFUser.currentUser() == nil) {
let loginViewController = PFLogInViewController()
loginViewController.delegate = self
loginViewController.fields = .UsernameAndPassword | .LogInButton | .PasswordForgotten | .SignUpButton | .Facebook | .Twitter
loginViewController.emailAsUsername = true
loginViewController.signUpController?.delegate = self
self.presentViewController(loginViewController, animated: false, completion: nil)
} else {
presentLoggedInAlert()
}
誰能幫我RES olve這個問題