小编Dan*_*bek的帖子

每次我尝试在登录页面上登录用户时,我都会收到无效的登录参数

我在xcode上使用swift和解析,我一直收到这个错误:

[Error]: invalid login parameters (Code: 101, Version: 1.7.2)
Run Code Online (Sandbox Code Playgroud)

每当我尝试登录用户时,我知道用户是在解析后端创建的,并且其信息是正确的.我该怎么做才能阻止这种情况发生并让用户在没有应用程序发回无效登录参数的情况下登录?

这是我的LogInViewController:

import Foundation
import Parse
import UIKit
import Bolts

class LoginViewController: UIViewController, UITextFieldDelegate {


@IBOutlet weak var loginStatusLabel: UILabel!

@IBOutlet weak var emailTextField: UITextField!


@IBOutlet weak var passwordTextField: UITextField!


@IBOutlet weak var loginButton: UIButton!


override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view, typically from a nib.

    emailTextField.delegate = self
    passwordTextField.delegate = self
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that …
Run Code Online (Sandbox Code Playgroud)

xcode login parse-platform swift

1
推荐指数
1
解决办法
2393
查看次数

标签 统计

login ×1

parse-platform ×1

swift ×1

xcode ×1